note 110897 added to faq.databases

From: Date: Thu, 20 Dec 2012 21:21:29 +0000
Subject: note 110897 added to faq.databases
Groups: php.notes 
Request: Send a blank email to php-notes+get-192619@lists.php.net to get a copy of this message
Due to the deprecation of mysql_get_host_info() in php5.5, I was wondering how else can we get the name of the mysql host? I'm including an automatic installer with my distributed app and I noticed none of the hosting plans users have any idea what the mysql host address is, if it's not the usual "localhost". They have to look it up deeply on the site panel, but only if someone tells them how and where (depending from hosting to hosting). Is there a fast&secure way to retrieve that address (name) in php? (before any active connection I mean). Thank you. ---- Server IP: 69.147.83.199 Probable Submitter: 188.27.70.14 ---- Manual Page -- http://php.net/manual/en/faq.databases.php Edit -- https://master.php.net/note/edit/110897 Del: integrated -- https://master.php.net/note/delete/110897/integrated Del: useless -- https://master.php.net/note/delete/110897/useless Del: bad code -- https://master.php.net/note/delete/110897/bad+code Del: spam -- https://master.php.net/note/delete/110897/spam Del: non-english -- https://master.php.net/note/delete/110897/non-english Del: in docs -- https://master.php.net/note/delete/110897/in+docs Del: other reasons-- https://master.php.net/note/delete/110897 Reject -- https://master.php.net/note/reject/110897 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#192619) next »