note 81564 added to function.mysql-pconnect

From: Date: Tue, 04 Mar 2008 10:47:32 +0000
Subject: note 81564 added to function.mysql-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-136724@lists.php.net to get a copy of this message
I have one server and install 2-MySQL, Mysql-1 is port: 3306, Mysql-2 is port: 3305, and Create database 'abc', first, I test php to connect Mysql-1(port is 3306), use: mysql_pconnect( "server_ip:3306",....), mysql_select_db('abc')... --> all OK two, I change to connect Mysql-2 and port change to 3305: use: mysql_pconnect( "server:3305", ... ) -> ok but, use mysql_select_db('abc') -> error: show "No Database 'abc'" Why ? anybody can tell me how to solution? ---- Server IP: 209.41.74.194 Probable Submitter: 203.70.248.125 ---- Manual Page -- http://www.php.net/manual/en/function.mysql-pconnect.php Edit -- https://master.php.net/note/edit/81564 Del: integrated -- https://master.php.net/note/delete/81564/integrated Del: useless -- https://master.php.net/note/delete/81564/useless Del: bad code -- https://master.php.net/note/delete/81564/bad+code Del: spam -- https://master.php.net/note/delete/81564/spam Del: non-english -- https://master.php.net/note/delete/81564/non-english Del: in docs -- https://master.php.net/note/delete/81564/in+docs Del: other reasons-- https://master.php.net/note/delete/81564 Reject -- https://master.php.net/note/reject/81564 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136724) next »