note 127361 added to mysqli.select-db

From: Date: Fri, 29 Jul 2022 05:19:06 +0000
Subject: note 127361 added to mysqli.select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-219076@lists.php.net to get a copy of this message
I have observed that sometimes .. directly using the db parameter in mysql::__construct doesn't work and it throws up a mysql server gone away error. However if we first do a mysql connection without db and then use the mysql_select_db then it works. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.5.135 (proxied: 2405:201:2c:c82b:881c:62f1:96df:1036) ---- Manual Page -- https://php.net/manual/en/mysqli.select-db.php Edit -- https://main.php.net/note/edit/127361 Del: integrated -- https://main.php.net/note/delete/127361/integrated Del: useless -- https://main.php.net/note/delete/127361/useless Del: bad code -- https://main.php.net/note/delete/127361/bad+code Del: spam -- https://main.php.net/note/delete/127361/spam Del: non-english -- https://main.php.net/note/delete/127361/non-english Del: in docs -- https://main.php.net/note/delete/127361/in+docs Del: other reasons-- https://main.php.net/note/delete/127361 Reject -- https://main.php.net/note/reject/127361 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219076) next »