|
|
mysql_connect undefined - Linux
|
Views : 794
|
|
Tagged in : Linux
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Hi,
Today I was unable to connect to mysql using mysql_connect function from php. I was able to use mysql database on command line, but not using mysql_connect function.
verified log files from
/etc/my.conf -> To Find where the mysql log files are stored
Mysql error log is store at /var/log/mysqld.log
Apache server log file.
/etc/httpd/conf/httpd.conf -> to find apache configuration file
Its log is store at /etc/httpd/logs/access_log or
Its log is store at /etc/httpd/logs/error_log
To install mysql with php use
yum install php-mysql
|
|
By - RameshKumar, On - 2007-12-14 |
|
|
|