This is a discussion on Importing mysql dump file to my Local Server within the Database Support forums, part of the Web Development category; A small query in importing mysql dump file to my Local Server. Actually I have installed 5.1.22-rc-...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| A small query in importing mysql dump file to my Local Server. Actually I have installed 5.1.22-rc-community to my local system. I have a mysql dump sql file in one of my server, now I want to execute the script to my local host mysql, how can I do it? I normally will execute the script using the following command, Code: mysql -u root -p –h [My Server IP] < [File Path].sql
__________________ -Murali.. |
| Sponsored Links |
| |||
| Hi Murali, I assume that you are using Win-XP and installed 5.1.22-rc-community on your machine(localhost). If my assumption is right then you can use the same code which you specified in your post. HTML Code: mysql -u root -p –h [My Server IP] < [File Path].sql HTML Code: MySQL Server Instance configuration Modifiy Security Settings Enable root access from remote machines. eg. If the new user created on your local machine is 'adminuser' then HTML Code: mysql -u adminuser -p –h [My Server IP] < [File Path].sql Try this and let me know your feedback if you found any other issues ...
__________________ Keep smiling... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mysql database dump tips and tricks | write2ashokkumar | Database Support | 31 | 12-14-2007 11:54 PM |
| ERROR 2002 (HY000): Can't connect to local MySQL server through socket | Gopisoft | Database Support | 1 | 10-29-2007 03:07 AM |
| how to access local file from server? | varghese | HTML, CSS and Javascript Coding Techniques | 5 | 10-18-2007 12:15 AM |
| How to import MySQL Dump files? | kingmaker | Database Support | 2 | 07-24-2007 04:47 AM |
| mysql dump | JSureshkumar | PHP Programming | 3 | 03-14-2007 04:55 AM |