If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
A database sql file when exported in phpmyadmin, fails
I experienced the exact problem already. According to comments (windows, wamp, mysql), here is a solution to get an export of your database/table(s):
Open CMD and paste this:
cd C:\wamp\bin\mysql\mysql15.5.8\bin
If your windows is installed into C drive, Then apply your own information in this line and paste it too:
mysqldump -u username -p databasename > filename.sql Note: username is root by default.
Also you can determine a particular table like following:
mysqldump -u username -p databasename tablename1 tablename2 > filename.sql
Here is an example:
Open CMD
write cd C:\wamp\bin\mysql\mysql15.5.8\bin
Then write mysqldump -u root -p univercity students > H://TheNameOfStudents.sql
Comment