Unable to query: Unknown column 'Show_db_priv' in 'field list'

I'm trying to add a database user in my Plesk and I've got this error:

Unable to query: Unknown column 'Show_db_priv' in 'field list'

0: /usr/local/psa/admin/plib/database_mysql.inc:1 psaerror(string "Unable to query: Unknown column 'Show_db_priv' in 'field list'") 1: /usr/local/psa/admin/plib/class.DataBase.php3:2 database_mysql->useradd(string "thierry", string "abc123", string "plain") 2: /usr/local/psa/admin/htdocs/domains/databases/db_usr_edit.php3:2 database->adduser(string "thierry", string "abc123")
 
-

I've done - /etc/init.d/mysqld condrestart, /etc/init.d/mysqld restart, /etc/init.d/psa stopall, /etc/init.d/psa start

But none of those works...

What do I have to... How can I create the Show_db_priv field?
kaeonthibeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ravi GoruTechnical ConsultantCommented:

Hi  Kaeonthibe ..

can u give us more details.. like

the version of MySQL you are using .. ,

and how are u trying to create users  ..??


try adding users  using mysql and GRANT ..

i mean somthing like this ..

mysql --user=root mysql

GRANT ALL PRIVILEGES ON some_database TO user@localhost
IDENTIFIED BY 'some_password' WITH GRANT OPTION;


and try using that account .. and revert back to us with ur .. difficulties.. !!

best of luck ..

RaviGoru
0
kaeonthibeAuthor Commented:
I'm using mysql 4.0.21
I'm trying to creat users with Plesk 7.1

And I don't know how to use the mysql command that you writed.
0
Ravi GoruTechnical ConsultantCommented:

I guess .. Plesk 7 uses mysql 3.23.8 ..  or posgres 7.2.4 ..

btw.. there are some differences in mysql 3.23. and mysql 4 +  and for manipulateing those differences there are some scripts available..

anyway.. the simplest procedure is .. to try using the recommended version of databases..!!

let me know.. what r u interested in ..?

RaviGoru

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

kaeonthibeAuthor Commented:
Downgrade to mysql 3.23...

Because Pleslk 7 Reloaded doesn't work with MySQL 4 on a Red Hat 9 OS

How can I downgrade now to mysql 3.23?

:o(
0
kaeonthibeAuthor Commented:
Everything is okay now - I've found this file... MySQL 4.0 can Work on Plesk 7 :o)

-> http://www.analysisandsolutions.com/code/mysql_fix_privilege_tables_323_to_40.sql

I'm able now to create a database user.
0
Ravi GoruTechnical ConsultantCommented:

good ..  u have done the right thing,

keep it up..!!
0
ee_ai_constructCommented:
Question answered by asker or dialog valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.