Showing posts with label MySQL. Show all posts
Showing posts with label MySQL. Show all posts

Friday, 26 April 2013

Solution : PHP Warning: mysql_connect(): No such file or directory

If you get PHP Warning: mysql_connect(): No such file or directory and unable to connect mysql through php then change localhost to 127.0.0.1 while connecting to database

example:
$connection = mysql_connect('localhost', 'root', 'password');
to
$connection = mysql_connect('127.0.0.1', 'root', 'password');
Read More

Wednesday, 10 April 2013

Solution : The mysqli extension is missing. Please check your PHP configuration

if you get The mysqli extension is missing. Please check your PHP configuration error in phpmyadmin
follow two steps

1. install php-mysql
in redhat , fedora
yum install php-mysql
in ubuntu
apt-get install php-mysql

2. restart apache server
restart mysql
Read More
Here We Write The Problems we face at different situations and Solutions to those problems.