hi scripters,I'm currently learning PHP and I'm having a problem with changing the default for connecting with my_sql for a custom username and password
<?php$con = mysql_connect("localhost","root","");if (!$con) { die('Could not connect: ' . mysql_error());}else{ echo "connection!";}// some code?>
this is the default which works, but when I change "root" with my own username and set a new password it won't work anymore.I am supposed to change some settings in the php.ini file or somethingI am using Easy PHP and I can't find that file, but I found "config.inc" file where I can change the username and password, like i said before it didnt work.anyone here know what my problem is?