View Full Version : Trying to upload a database - Works in remote but not local server
John Diver
Tue 22nd Nov '05, 7:29pm
Hey,
i am trying to restore a database dump on my local server.
I am getting the error No tables found in database
There are tables and I used the same database for a restore on my local server.
Anyone know what it could be?
mbailey
Tue 22nd Nov '05, 11:20pm
Does your database dump contain the appropriate create table queries? Insert queries will fail if the specified tables don't exist.
John Diver
Wed 23rd Nov '05, 1:02pm
Yes it does.
I am using the exact same file on my local server as I am on my remote but it is saying no tables found.
eva2000
Mon 28th Nov '05, 8:20am
how you restoring via mysql command
mysql -u mysqlusername -p databasename < /path/to/back.sql
same version of mysql on both servers remote and local ?
John Diver
Mon 28th Nov '05, 11:53am
I am restoring via phpmyadmin on the remote and local servers.
The mysql on my local server is older but it should still be able to read the tables in the .sql file.
Thanks
eva2000
Wed 30th Nov '05, 7:58am
phpmyadmin isn't recommended as it has problems with timeouts and larger files
best to use ssh telnet and the command i listed above in post #4
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.