I'm new to webmin, and I'm trying to configure my database settings so that it works. I was using mySQL previously, and now I have to import my sql statements onto webmin. However, I have no idea what other configurations are needed in order for my 'mysql_connect' to work.
I've created a new user.
so in my file manager, i tried with a test file
$dbc = mysql_connect ('localhost', '$username', '$password');
echo "Connection to Server opened";
echo "There's no connection to server";
so far it's only echoing '1', but gets stuck at mysql_connect. What else do I need to configure in order to get this working?