Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
i want to know how to import sql or access or any other database file in my mysql database. i tried the .sql file but it give the error on first line. the .sql file is generate as a script from the sql server by ne for checking purpose.
kindly give me the step for fhow to import .sql or .bak or any other database file in mysql.
thanks in advance.
Posted

Hi,

If you are using phpmyadmin you can use the import option in the system. just you need to browse the sql file and upload.

Thanks

Anand Ayyappan
 
Share this answer
 
Comments
niravbhavsar 28-Mar-12 2:47am    
ya i use that option for import the database file.
it is success when i use the exported from the mysql. but i have to use the sql server 2008 . sql file
Hi,

In that case try using

http://www.mysql.com/products/workbench/[^]

There was a tool earlier MySQL Migration Toolkit but i think its part of the workbench now

Thanks

Anand Ayyappan
 
Share this answer
 
Comments
niravbhavsar 28-Mar-12 3:18am    
Thanks for help. Is there any other way to import other database file in my mysql?
Anand Ayyappan 28-Mar-12 3:22am    
I thinks this is the best way. What both these applications do is creating sqls from the source database and then pushing the same to the target database.
i got the data loader software. by the help of it i can restore the most of the data base in other database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900