MYSQL setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello, I'm trying to connnect and configure the root password for mysql after
a fresh install.
I've done the following

1. yum install
mysql-server mysql-administrator mysql mysql-gui-common php-mysql

2. service mysqld start

At this point from what I understand, the root mysql account should have no
password set so I can either

A. connect to the database with mysql -u root. with this I'm getting the
following error.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)

or I can set the root password with

B. mysqladmin -u root password 'newpassword' which yields the same error.
I've searched tirlessly to resolve this on my own but everything I read says
this only happens if you have set a password for root which I haven't done.
Any help would be greatly appreciated..Thanks
View this message in context:
Sent from the Fedora List mailing list archive at

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux