![]() |
Help in importing DB from ssh
hello.
im trying to import DB from SSH. after i entered my details mysqldump -u db_username -p db_name >backup.sql it asks for password. and after entered nothing happens.i checked on cpanel my DB is still empty.why is it |
mysql -u -p dbname < /path/to/db.sql
|
thats wat i did
|
Quote:
Do you have the right database name and path to the backup file correct? Are you sure the backup file your importing from actually has anything in it? |
oh
i want to import.yes i have the right DB and infor this is wat i typed Quote:
|
Quote:
instead of mysql -u game_new -p bla12 < game.sql use mysql -ugame_new -pbla12 name_of_db < game.sql |
i entered this
mysql -ugame_new -pbla12 game_new< game.sql its keep asking me to enter the details nothign happens |
Have you logged into MySQL?
|
Quote:
|
Is "game.sql" in the right location? The way you're executing the query, it should be located in the root - is it?
|
All times are GMT. The time now is 10:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|