Ok...i'm trying to install the old database onto the new server via SSH...i'm using
mysql -h servername -u dbusername -p databasename < backupname.sql
mysql -h localhost -u olddataname -p olddatabase < olddatabase.sql
is that the correct format?
it's accepting that command...but when it asks for password and i put it in (i KNOW it's correct) it keeps giving this error...
ERROR 1045 (28000): Access denied for user 'olddataname'@'localhost' (using password: YES)
any ideas?
mysql -h servername -u dbusername -p databasename < backupname.sql
mysql -h localhost -u olddataname -p olddatabase < olddatabase.sql
is that the correct format?
it's accepting that command...but when it asks for password and i put it in (i KNOW it's correct) it keeps giving this error...
ERROR 1045 (28000): Access denied for user 'olddataname'@'localhost' (using password: YES)
any ideas?
Comment