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

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

Author Topic: A way to export quotes from database?  (Read 1877 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
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 490
  • 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