All I want to do is run mysql and test very basic things out, but mysql is fighting me every step of the way...
I dont think ive ever changed any settings since ive installed it, I just want to run mysql and look around etc
Code:
joe@joe-U46:/etc/init.d$ mysql
ERROR 1045 (28000): Access denied for user 'joe'@'localhost' (using password: NO)
I try:
Code:
mysql -u root -p mysql
I
This is a new install and I have only set the root passwords for localhost, 127.0.0.1 and .
I know the password is correct as I can log in with root@localhost to the mysql server and can also create users. However, when I try to grant privileges to the newly created user I get the dreaded "Access denied for user root@localhost (using password: YES)" error message.
GRANT ALL PRIVILEGES ON .
Hello all,
I have installed mysql using instructions from:
https://help.ubuntu.com/community/ApacheMySQLPHP
Quote:
Note: If you have already set a password for the mysql root, you will need to use:
mysql -u root -p(Did you forget the mysql-root password?
Code:
$ mysql -p -u root
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Not sure what I'm doing wrong. My google-fu may be too week:
http://dev.mysql.com/doc/refman/5.1/...ss-denied.html
I've been trying to figure out why I keep getting this error when I try to connect to the MySQL server with the following commands.
$~ mysql -u username -h SQLserver -p
Enter password:
ERROR 1045 (28000): Access denied for user 'username'@'myIP' (using password: YES)
I've done the following:
Port is open in the firewall other wise I wouldn't get the error it'd just timeout.
MySQL server not run
Mysql server is installed on my quest OS Centos6 (192.168.1.50) and using port 3306. I'm trying to connect from my Windows OS (192.168.1.2).
I'm getting error #1045 Access denied for user 'root'@'192.168.1.2' (using password: YES)
So, as far as I understand this error is telling me that I have no rights to access mysql using user root from 192.168.1.2 host.
I wouldn't set a password for mysql that wasn't my root or main user password, but I still get this no matter what I try# mysql_upgrade -p
Enter password:
Phase 1/3: Fixing table and database names
mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
FATAL ERROR: Upgrade failedI tried resetting the passwo
I receive the following error when trying to connect to mySql through phpmyadin:
MySQL said:
1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection.
Setup a new database on a machine I didn't setup. I can from the local machine issue a;
mysql -u root -p <enter>, submit the password and I'm in.
I read through
http://dev.mysql.com/doc/refman/5.1/...ss-denied.html
and not sure on the issue.