What is the connection string for MySQL, I am pretty new to this stuff and need big time help. Any books I could get on this? Any help would be appreciated. Thanks in advanced
Use this if pointing to an ODBC.ini file (you would need to set these values in the ODBC.ini file on your web server along with port address usually 3306) - assumes ODBC MySQL driver is installed.
conn = "DSN=[database name]; UID=[userid]; PWD=[password]; SERVER=[MySQL server IP address]; DATABASE=[database name]"
Use this for OLEDB or ODBC. You will need to install the MySQL ODBC driver
conn = "Driver{MySQL}; UID=[userid]; PWD=[password]; SERVER=[MySQL server IP address]; DATABASE=[database name]"
wher conn is connection string.
Books: MySQL & mSQL by O'RIELLY publishers. Written by Randy Jay Yarger, George Reese & Tim King.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.