Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2004
    Posts
    72

    Default mySQL not working on FreeBSD

    We have several Linux flavours with cpanel on different servers, but we just had a FreeBSD one setup, and we cannot seem to get mySQL working.

    Problem:
    mySQL is running, and we are able to login via console using root, and via phpmyadmin in WHM, but when we login to cPanel accounts and try to create a mySQL db, it states the db has been made, but it actually does not. Usernames can be created without a problem. An observation we made was made that when looking at phpmyadmin through cPanel was that it had No Permission under the Create Database field.

    What we tried::
    1. Restart mysql via command line and via cpanel
    2. Reset mysql root password to several different passwords
    3. Create a database through phpmyadmin (using whm as root) - this worked

    What we think might be the problem:
    cPanel is not interfacing with mysql correctly and hence is not allowing users to create their own dbs, looks like a permissions problem.

    Anyone had a similar problem?
    crucialparadigm - Now with InterNAP on Limited Orders - Affordable, Reliable, Professional
    24/7 Support • Web Hosting • Reseller Hosting • Remote Backup • Dedicated Servers •
    Affordable High Bandwidth Servers Check out our dedicated server specials!

  2. #2
    Member
    Join Date
    Jun 2004
    Location
    Columbus, OH
    Posts
    113

    Default

    Make sure your perms are set right on your mysql data dir. I'm bet this is your issue.

    chown -R mysql:mysql /var/db/mysql/

    Thanks
    -Seth

Similar Threads & Tags
Similar threads

  1. cant get hlds_run working for freebsd
    By scoopy03 in forum cPGS Discussions
    Replies: 5
    Last Post: 01-11-2007, 06:19 AM
  2. pop3 not working on FreeBSD
    By flashweb in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-30-2006, 05:46 AM
  3. exim not working in freebsd server
    By sanilcg in forum Data Protection
    Replies: 5
    Last Post: 11-10-2005, 10:39 AM
  4. HTTPS Not working, FreeBSD
    By netnexi in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 10-01-2004, 02:58 AM
  5. Userbackup not working under FreeBSD 5.1
    By Dillard in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-12-2004, 02:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube