Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

Archive::General Discussion Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-26-2002, 05:20 PM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

It's great that your doing database work, but mysql does let you manipulate to the data directly:

Code:
[scott@len ~/dev/EQEmu-0.2.0/bin]$ mysql -ueqe -p eq020
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 205 to server version: 3.23.41

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show tables;
+-------------------+
| Tables_in_eq020   |
+-------------------+
| account           |
| authentication    |
| character_        |
| faction_list      |
| faction_values    |
| guilds            |
| items             |
| lootdrop          |
| lootdrop_entries  |
| loottable         |
| loottable_entries |
| name_filter       |
| npc_faction       |
| npc_types         |
| quest             |
| spawn2            |
| spawnbak          |
| spawnentry        |
| spawngroup        |
| variables         |
| zone              |
| zone_points       |
| zone_server       |
| zone_state_dump   |
| zoneserver_auth   |
+-------------------+
25 rows in set (0.01 sec)

mysql> select * from account where name='eqemu';
+----+-------+----------+--------+--------------+
| id | name  | password | status | lsaccount_id |
+----+-------+----------+--------+--------------+
|  1 | eqemu | eqemu    |      0 |         NULL |
+----+-------+----------+--------+--------------+
1 row in set (0.00 sec)
And so on. ODBC is just another way to get at the data, and (as you mentioned) lets some other products get to it. If you really want to get into it, you might want to learn some SQL (it's not that hard -- it's mostly English like sentences). http://www.w3schools.com/sql/ is a good place to start and gives you a quick basic understanding of SQL.

Of course, you should use whatever's easiest for you :)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:15 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3