Can someone help me..im not able to connect mysql
If this is a Windows type project, then it requires the 64bit drivers to work I believe.
Otherwise, you’ll have to install the 64bit drivers.
You should simply define the DSN, UID and PWD and this is your connection string.
"Dsn="+str_SQL_DSN+";uid=" + str_SQL_Username + ";pwd=" + str_SQL_Password
1 Like
- Ensure drivers are present
- Check if DNS is added
- check your connection string and use the correct one from here MySQL connection strings - ConnectionStrings.com
cheers
1 Like
$connection = new mysqli(“localhost”, “root”, “yourPassword”, “yourDatabase”);
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

