MySQL is accessed as Root
This bug report was converted into a question: question #233728: MySQL is accessed as Root.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Undecided
|
Unassigned |
Bug Description
devstack uses root as the mysql database user
specifically for keystone, the sql connection string is
connection = mysql:/
This should be the devstack user, not root.
In addition, devstack tries to do administrative operations as root:
sudo mysqladmin -u root password keystone
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Which causes devstack to fail
Davanum Srinivas (DIMS) (dims-v) wrote : | #1 |
Roman Gorodeckij (holms) wrote : | #2 |
Ok i had the same problem. and point was that I did ./stack.sh second time with different localrc. mysqld was started and ofcourse it's failed to connect because root user was created before with different password.
I deleted mysql-server and reinstalled everything completely. And now it's moved further.
Changed in devstack: | |
status: | New → Confirmed |
Roman Gorodeckij (holms) wrote : | #3 |
This not probably a bug. By nature devstack is written with shell script, so ofcourse performing the same setup on top will fail.
Devstack really should move to puppet.
Changed in devstack: | |
status: | Confirmed → Invalid |
Adam, Is there a log i can look at?