New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Issue with mysql when installing gerrit [solved]

Got problems with your B2 or B3? Share and get helped!
Post Reply
eramoli
Posts: 67
Joined: 15 Oct 2010, 13:06
Location: Sundbyberg, Sweden

Issue with mysql when installing gerrit [solved]

Post 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
Last edited by eramoli on 01 Dec 2012, 07:42, edited 1 time in total.
nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: Issue with mysql when installing gerrit

Post 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
eramoli
Posts: 67
Joined: 15 Oct 2010, 13:06
Location: Sundbyberg, Sweden

Re: Issue with mysql when installing gerrit

Post by eramoli »

Hi,

Thanks, this solved the issue.

/Morgan
Post Reply