I have read the previous posts that specify that the host name of my local database is just localhost. I have tried it in my php code:
$servername = "localhost";
and it does not work. I am pretty sure I have the database name, my username, and my password all correct, but I cannot connect. Am I specifying the MySQL sever name correctly?
Thanks,
Bruce
$servername = "localhost";
and it does not work. I am pretty sure I have the database name, my username, and my password all correct, but I cannot connect. Am I specifying the MySQL sever name correctly?
Thanks,
Bruce