I was printing the mysql_get_server_info()
using like this:
<?php
echo 'MySQL Informtion';
echo mysql_get_server_info();
?>
but got
PHP warning mysql_get_server_info(): Access denied for user 'www-data'@'localhost (using password: NO)
in response. I am using PHP5.6
. what causing this and how do i fix it.