collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: A way to export quotes from database?  (Read 4439 times)

0 Members and 1 Guest are viewing this topic.

Offline Heiru

  • BeBot Rookie
  • *
  • Posts: 6
  • Karma: +0/-0
A way to export quotes from database?
« on: August 27, 2009, 01:12:03 am »
We have some pretty funny quotes that we have gathered over time.  Is there a way to easily export the quotes from the database into some sort of file that is useable to post somewhere?


Thanks ahead of time!

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: A way to export quotes from database?
« Reply #1 on: August 27, 2009, 06:56:08 am »
It's a MySQL database, so yes.

How you go about doing so is another matter.

Run the command:

mysql -u USERNAME -p DBNAME
SELECT quote,contributor FROM quotes;

That will dump a list that you can copy and paste.

Or to break it up...
SELECT quote,contributor FROM quotes LIMIT 0,25;
SELECT quote,contributor FROM quotes LIMIT 26,50;

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 292
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal