|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-07 10:45 UTC] cnewbill@php.net
[2001-03-07 10:59 UTC] cnewbill@php.net
[2001-03-07 10:59 UTC] cnewbill@php.net
[2001-03-07 12:13 UTC] gkopp at ideastar dot com
[2001-03-07 12:58 UTC] cnewbill@php.net
[2001-04-10 10:52 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 16:00:01 2025 UTC |
MySQL: 3.22.32-beta Apache: 1.3.14 MySQL is connecting to the wrong database: I have two databases: ceres ceres_test The ceres database is the live database and the user "ceres" is granted permissions on it. The ceres_test database is a database that is identical, but I use for testing purposes. The mysql user "ceresdb" has permissions to access the "ceres" database ONLY. However, if I execute: mysql_pconnect("localhost","ceresdb", "password"); mysql_select_db("ceres_test"); It actually connects to the "ceres" database instead. I should have recieved and error that it was unable to connect. We have verified this several ways. Also, if I change the username/password to the root user or a user that has permissions on ALL databases, it works fine.