note 75095 added to faq.databases

From: Date: Sat, 12 May 2007 04:50:03 +0000
Subject: note 75095 added to faq.databases
Groups: php.notes 
Request: Send a blank email to php-notes+get-126422@lists.php.net to get a copy of this message
I installed php 5,apache 2.2.4 and MySQL 5.0. Everything seems to be ok. Only problem is cannot connect to mysql database. When i tried to connect to mysql through a php page it says 'Call to undefined function mysql_connect'. What could be wrong. I check and modified the libraries and ini files as per the documentation. The phpinfo() shows the following trace MysqlI Support enabled Client API library version 5.0.37 Client API header version 5.0.36 MYSQLI_SOCKET /tmp/mysql.sock Directive Local Value Master Value mysqli.default_host no value no value mysqli.default_port 3306 3306 mysqli.default_pw no value no value mysqli.default_socket no value no value mysqli.default_user no value no value mysqli.max_links Unlimited Unlimited mysqli.reconnect Off Off Is anybody have the same problem or knows how to solve this. ---- Server IP: 69.147.83.197 Probable Submitter: 74.107.43.101 ---- Manual Page -- http://www.php.net/manual/en/faq.databases.php Edit -- https://master.php.net/note/edit/75095 Del: integrated -- https://master.php.net/note/delete/75095/integrated Del: useless -- https://master.php.net/note/delete/75095/useless Del: bad code -- https://master.php.net/note/delete/75095/bad+code Del: spam -- https://master.php.net/note/delete/75095/spam Del: non-english -- https://master.php.net/note/delete/75095/non-english Del: in docs -- https://master.php.net/note/delete/75095/in+docs Del: other reasons-- https://master.php.net/note/delete/75095 Reject -- https://master.php.net/note/reject/75095 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126422) next »