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
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
In Database
Share this post:
Responses (1)
-
Accepted Answer
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
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »