Error On Grant New User To Database

Moderator: crythias

Locked
yuanyudistira
Znuny newbie
Posts: 6
Joined: 10 Dec 2010, 08:12
Znuny Version: 2

Error On Grant New User To Database

Post by yuanyudistira »

I always get error when install using web interface

Code: Select all

Creating database user 'otrssupport@localhost':

False! :-(

---==> Access denied for user 'root'@'172.20.200.2' to database 'otrssupport'
I am using a root for mysql

but why root can not grant using the installer?

please help


YY
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error On Grant New User To Database

Post by crythias »

because root might need a password? (The error message doesn't indicate that root was tried with a password).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
yuanyudistira
Znuny newbie
Posts: 6
Joined: 10 Dec 2010, 08:12
Znuny Version: 2

Re: Error On Grant New User To Database

Post by yuanyudistira »

crythias wrote:because root might need a password? (The error message doesn't indicate that root was tried with a password).
BUt it works from the previous step,

and when I check, yes database is created, and all tables and record is created.

but it can not create a new user and grant accees to the tables ...

is it a bug?

YY
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error On Grant New User To Database

Post by crythias »

It appears that root doesn't have grant privileges for some reason. I can't imagine that that's the case, but can you do it manually?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
yuanyudistira
Znuny newbie
Posts: 6
Joined: 10 Dec 2010, 08:12
Znuny Version: 2

Re: Error On Grant New User To Database

Post by yuanyudistira »

crythias wrote:It appears that root doesn't have grant privileges for some reason. I can't imagine that that's the case, but can you do it manually?
I tried using a HeidySQL GUI, and yes I can use grant command without error ...
earwax
Znuny newbie
Posts: 43
Joined: 07 Dec 2010, 23:54
Znuny Version: 3.0.11
Location: Seattle, WA
Contact:

Re: Error On Grant New User To Database

Post by earwax »

What about if you just gave the MySQL root user FULL privileges?
OTRS 3.0.12
Ubuntu Linux 10.04
MySQL
Locked