Page 1 of 1

Issue with mysql when installing gerrit [solved]

Posted: 01 Dec 2012, 06:21
by eramoli
Hi,

I am trying to install gerrit on my B3 follwing the instructions on http://gerrit-documentation.googlecode. ... stall.html, but have an issue with mysql.

When logged in as root I perform the following command

Code: Select all

#mysql
I receive the following response
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
How do I grant root@localhost access to mysql or should I use a different user to use mysql?

/Morgan

Re: Issue with mysql when installing gerrit

Posted: 01 Dec 2012, 06:58
by nobody
well, on the B3 mysql is shipped without a root password, so your "mysql" command should give you access. The fact that it does not means you changed the root password into something only you know.

If you forgot the root password, you can reset it by runinng mysql without grant tables
http://www.howtoforge.com/reset-forgott ... t-password

Re: Issue with mysql when installing gerrit

Posted: 01 Dec 2012, 07:41
by eramoli
Hi,

Thanks, this solved the issue.

/Morgan