Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    7

    Default phpMyAdmin No Privileges

    Hi, I have some problem with mysql and phpmyadmin, I cant create DB with phpmyadmin, it show me "No Privileges", I changed the privilege to full from WHM phpMyAdmin. and still the same.

    I tried to install phpBB and joomla, i create the DataBase from the cpanel and asign a user to it,
    But no connection to the DB. i tried also with the root user and password but no chance.

    From the command line i can connect to the DB "mysql -u -p DB", but not from the install.php file for phpBB and joomla.

    Server info:
    WHM 10.8.0 cPanel 10.9.0-S48
    FreeBSD 6.1-RELEASE i386 - WHM X v3.1.0
    mysql error message:
    Warning: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client in /usr/home/user/public_html/phpbb/db/mysql4.php on line 48

    Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /usr/home/user/public_html/phpbb/db/mysql4.php on line 330

    Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /usr/home/user/public_html/phpbb/db/mysql4.php on line 331
    phpBB : Critical Error

    Could not connect to the database
    phpMyAdmin message:
    Create new database:
    No Privileges
    sorry for my bad English.

    Thankx
    Last edited by Dr.Death; 10-20-2006 at 05:30 PM.

  2. #2
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    Which version of MySQL are you using?


    Also provide php version and my.cnf configuration details.

    It seems you need to grant some access to related databases.

    Thanks,
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    7

    Default

    Hi manuel,

    MySQL version 4.1.21
    PHP version 4.4.4
    phpMyAdmin 2.9.0.2

    my.cnf :
    [mysqld]
    set-variable = max_connections=500
    safe-show-database
    by defual Global privileges was set to "USAGE", Grant not enabled.
    I enable all Global privileges options "Data, Structure, Administration" and Grant.

    Still the same error messages appear.

    Thankx

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    7

    Default

    I fixed the problem, the problem was that MySQL 4.1 and 5.0 require a different password exchange protocol than PHP prior to 5.x uses.
    here is mysql doc. : http://dev.mysql.com/doc/refman/5.0/en/old-client.html

    i add this line to /etc/my.cnf:

    old-passwords = 1


    also upgrade Mysql to V5.0.18

    Its work fine now, thankx

  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    7

    Default

    but still i need to add Grant privilege manually to the users.

    any idea how to make it set by defualt !

Similar Threads & Tags
Similar threads

  1. Privileges for one username
    By toplisek in forum Database Discussions
    Replies: 2
    Last Post: 05-03-2011, 02:43 PM
  2. phpMyAdmin missing Privileges tab
    By carock in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-12-2010, 01:08 PM
  3. No Privileges to Create new database in phpMyAdmin
    By faisal.m in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-19-2005, 11:01 AM
  4. phpMyAdmin "No Privileges" Reappears
    By sfjimih in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-17-2005, 10:28 PM
  5. phpMyAdmin: No Privileges
    By Dragon-Knight in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-20-2004, 04:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube