Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2005, 10:08 PM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default Mysql / export / import

Hello,

I would like to export 2 columns (name and charname) from the account table.

Once it's done, I'd like to import it in a table called 'access' wich has 2 columns: Login / Password.
- the datas of the 'charname' column will go in the new Login column
- the datas of the 'name' column will go in the new Password column.

Is it possible to do that just with Mysql commands?

Thx,
Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
Reply With Quote
  #2  
Old 08-20-2005, 12:48 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default

Quote:
Originally Posted by Magoth78
Hello,

I would like to export 2 columns (name and charname) from the account table.

Once it's done, I'd like to import it in a table called 'access' wich has 2 columns: Login / Password.
- the datas of the 'charname' column will go in the new Login column
- the datas of the 'name' column will go in the new Password column.

Is it possible to do that just with Mysql commands?

Thx,
Mag
you can outside of mysql

mysqldump -u sdabbs -p account password > accounts.txt

this will dump your passwords into a text file called accounts.
im not sure how to do login and password but if you toy with it you should get it working.
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote
  #3  
Old 08-20-2005, 01:55 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

This will export the entire account table, sdabbs65. I'd just want the columns: "name" (account's login) and "charname" (character name attached to the account) of the table so I can source them into 2 others columns of a different table.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
Reply With Quote
  #4  
Old 08-20-2005, 02:23 AM
sdabbs65
Dragon
 
Join Date: Dec 2003
Location: Earth
Posts: 818
Default sql

Quote:
Originally Posted by Magoth78
This will export the entire account table, sdabbs65. I'd just want the columns: "name" (account's login) and "charname" (character name attached to the account) of the table so I can source them into 2 others columns of a different table.
No it dont it just get's the password field from accounts.
if you want the names and password you should be able to but I never got 2
fields from a table just 1.
__________________
hosting Eqemu/Runuo/wow Emulators.

www.cheaterz.info
Reply With Quote
Reply


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 03:45 AM.


 

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