rick barclay
Wed 18th Jan '06, 7:43pm
I just installed MySQL 5.x, and it's been a while since I've used an earlier version of the program. I have phpMyAdmin, but I'm still trying to figure out the syntax for the config.inc.php file, so I can't use that program for a while.
My earlier version of MySQL let me restore a backup like this:
C:\mysql\bin> mysql -p forums <C:\myfile.sql;
That command would restore myfile.sql to the "forums" folder in MySQL\Data. However, it doesn't work with MySQL 5.017, and I get a message about a syntax error instead.
Could someone please tell me the proper syntax to use so I can restore this database? I'm using the MySQL Command Line
Client and have entered my password. I'm at the >MySQL
command prompt.
I intend to read the MySQL and phpMyAdmin doc tonight, but
past experience with those two documents has been frustrating and unfullfilling.
Thanks for your help.
My earlier version of MySQL let me restore a backup like this:
C:\mysql\bin> mysql -p forums <C:\myfile.sql;
That command would restore myfile.sql to the "forums" folder in MySQL\Data. However, it doesn't work with MySQL 5.017, and I get a message about a syntax error instead.
Could someone please tell me the proper syntax to use so I can restore this database? I'm using the MySQL Command Line
Client and have entered my password. I'm at the >MySQL
command prompt.
I intend to read the MySQL and phpMyAdmin doc tonight, but
past experience with those two documents has been frustrating and unfullfilling.
Thanks for your help.