Jump to content
Larry Ullman's Book Forums

How Do I Copy A Mysql File To The Server


Recommended Posts

Please bear with me - I'm a MySQL dummy - aka beginner. I have a couple tables on my local machine. I have MySQL 5.5 also installed as a server on the remote server. Do I just copy the files - is that it? On my local machine (XP) they are located at:

 

C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.5\data

 

On the server I have:

 

C:\ProgramData\MySQL\MySQL Server 5.5\data

 

Do I just copy the project folder or do I have to perform some sort of install or instantiation?

Link to comment
Share on other sites

You can actually just export the file. If you go to the PHPMyAdmin and view the database you want to copy, there should be an export tab, click it and save the file to your desktop, then you can just copy all the SQL commands into the other hosts PHPMyAdmin under the SQL tab and dump all the data in like that. That's what I do.

Link to comment
Share on other sites

 Share

×
×
  • Create New...