Page 1 of 1

Deprecated: Function mysql_list_dbs()

PostPosted: Wed Dec 12, 2012 5:36 pm
by gazzari
Hi all.

I love the idea of Xataface.

I have used WizMySQLAdmin to work on databases. It does everything. But too much for a customer. Great for a developer.
I gather thats where Xataface can help. But...

After installation, I get "Deprecated: Function mysql_list_dbs() is deprecated in C:\Program Files (x86)\EasyPHP-12.1\www\xataface-1.3.3\installer.php on line 248"
I did a search on the forum here, but came up with nothing.

Using Easy PHP with
APACHE 2.4.2
MYSQL 5.5.27
PHP 5.4.6
on a Win 7 PC

I have not got to the folder permissions yet, but that is another story on Win based pc.

Garry Cross

Re: Deprecated: Function mysql_list_dbs()

PostPosted: Tue Dec 18, 2012 3:46 pm
by shannah
Thanks for reporting this. I'm not regularly using PHP 5.4 and I never use the installer (I always set up the apps manually) so I hadn't seen this deprecation. You should be able to just hide these types of notices in your php.ini... or just skip straight to a manual install.

_Steve

Re: Deprecated: Function mysql_list_dbs()

PostPosted: Thu Feb 14, 2013 1:40 pm
by c1086101
Or just fix it yourself by editing installer.php and change line 248 to:

$res = mysql_query("SHOW DATABASES");