Forums

Robert
Robert
Offline
Resolved
0 votes
phpmyadmin works host:81/mysql


but my programs do not connect to the DB

I have a custom built program it works on a 5.2 server i copy the DB and php program to the 6.2 server as well as creating the proper username and pass and priveldegs in mysql and I get an error



Unable to select database

but I have access to it using navicat same using the credentials for my program.

Why would i be getting this error


I get this error even with using root credentials
Thursday, April 26 2012, 12:33 AM
Share this post:
Responses (1)
  • Accepted Answer

    Wednesday, May 02 2012, 02:02 PM - #Permalink
    Resolved
    0 votes
    I had a similar sounding problem with 6.2 when I ran an installer script following is the reply I got from Tim Burgess


    To enable PHP to interact with mysql you need the php-mysql extension




    Code:




    --------------------------------------------------------------------------------

    yum install php-mysql

    below is the link to my original thread

    http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,39/func,view/id,39393/limit,10/limitstart,10/

    It would seem that 6.2 doesn't have as many of the PHP add-ons preinstalled as was the case with 5.2
    The reply is currently minimized Show
Your Reply