Results 1 to 2 of 2
Hi,
I'm trying to export my MySQL databases but this keeps happening:
[root@sftrhost sftr]# mysqldump -u mysql -p formyeyesonly sftr > FILE.sql
Enter password:
mysqldump: Got error: 1045: Access denied ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-22-2005 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 54
Exporting MySQL
Hi,
I'm trying to export my MySQL databases but this keeps happening:
What am I doing wrong?[root@sftrhost sftr]# mysqldump -u mysql -p formyeyesonly sftr > FILE.sql
Enter password:
mysqldump: Got error: 1045: Access denied for user: 'mysql@localhost' (Using password: YES) when trying to connect
- 05-22-2005 #2Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
Re: Exporting MySQL
You're leaving a space between the -p and the password. It has to be typed as a single argument "mysqldump -u mysql -pformyeyesonly sftr".
Originally Posted by sixfoottallrabbit


Reply With Quote
