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

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2009, 08:54 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

.csv files are simply comma separated values. It's a popular export method for a lot of Windows-based programs like Excel, Access, and MySQL.

I've gone through the work before of exporting entire tables from MySQL into .csv, opening them in Excel, adding a blank column before all the information, and then using it to write queries. From there, I just copy the whole deal into a text file, save it as a .sql file, and source it in. So for most tables that are just simple integers or text, that would work for you, though it'd take some work. I have no idea how you'd handle anything like the player profile or blobs.
Reply With Quote
  #2  
Old 04-17-2009, 11:28 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

This might help.

If not, I believe you can run a new query on the existing connection, copy and paste the text from the .sql file and run the query.

The last I've used was SQL Server 2005, I'm not sure what they've changed in 2008.

you could also try renaming the .sql file to a .txt file and see if that'll import. - you might have to change some of the syntax tho.
Reply With Quote
  #3  
Old 04-17-2009, 05:23 PM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

What was happening was when I went to import the sql file it would start the process then start giving row and column errors and then just end the import operation. That is most likely because I did not have the program configured correctly or just made a simple mistake out of inexperience.

The sql file I was using was a database export of my minilogin which I know works or atleast it does on mysql. I'll probably put it in text format and try again later when I have more time to tinker with it.
Reply With Quote
  #4  
Old 04-27-2009, 08:41 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

You might want to try selecting all the data in your database (via Navicat or something similar), copying and pasting into excel. Then save to a .CSV file.

That should import easier into SQL Server.
Reply With Quote
  #5  
Old 04-27-2009, 06:45 PM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Not sure if the queries that world/zone server use are compatible with SQL Server either. You might end up having to make changes and recompile the code. And it would be quite a few changes.
__________________
Hmm.
Reply With Quote
  #6  
Old 04-28-2009, 04:12 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

yea the queries are a little different, which is why exporting via navicat (to a csv format) and then importing with 2008 choosing a csv format should work.
Reply With Quote
  #7  
Old 04-28-2009, 11:56 PM
EvoZak
Sarnak
 
Join Date: May 2008
Location: Midwest
Posts: 72
Default

I think drake's point is that the emulator doesn't really have a data layer per se. Rather, a bunch of embedded sql queries throughout the code.

Not that there's anything wrong with that. Just not easy to switch back ends.
Reply With Quote
Reply

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 11:01 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