Where are the database files for mysql in Centos 5?
Where are the database files for mysql in Centos 5?
This would be mysql ver 5
The problem i am having is that i cant connect to mysql from apache all of my php script works and i can make, use, edit tables from the command line but the connect statement does nothing, not even an error message.
$connection = mysql_connect("localhost","user","password");
if (!$connection) {
echo "COULD NOT CONNECT!!";
}
echo "connect successful";
Last edited by Anauj0101; 02-21-2008 at 12:17 AM.
|