I was having trouble with access because it was far too slow and the site kept crashing as too many people were accessing the database at the same time (servers errors because of the lock file kept cropping up).
So, I converted the Access Database to mySQL, used the connection string:
And it connects ok. However, I get the following error on the main page:Code:Conn.Open "DRIVER={MySQL ODBC 3.51 Driver};database=dhsweb;server=localhost;uid=root;password=chadwick;option=3;"
Is this a problem with my code or connection string, and how do I fix it?Code:Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [MySQL][ODBC 3.51 Driver][mysqld-4.1.7-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '5 * from News Where AccessLevel <= 0 Order by Id desc' at line 1 /includes/home.asp, line 54
Further, is there a way to speed up Access or make it so it allows more than one person to write/read it at the same time?





Bookmarks