Basically I'm attempting to follow a series of video tutorials for making a basic community website.
( This one: http://www.developphp.com/view_tlesson.php?str=101xxphp_lessons )
I've created a test connection script (from this page) and it runs fine. (Says "CONNECTION SUCCESSFUL!")
But when I move to the next step (creating member tables using this page: http://www.developphp.com/view_tlesson.php?str=102xxphp_lessons)
I run into the following error:
Success in database file CONNECTION.....
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\Pete\scripts\create_Table.php on line 34
(I can paste in the code if required but it's also on the above page.)
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\Pete\scripts\create_Table.php on line 34
no TABLE created. You have problems in the system already, backtrack and debug!
I've tried created a new user in the XAMPP control panel (window title reads: "phpMyAdmin") and updating the .php files to reflect the new username and
password but this "ODBC" stuff still appears.
What are the odds that folder restrictions are causing problems? (I'm on Windows 7 and have just noticed that a lot of folders in the XAMPP directory are
listed as "Read Only".)
Thank you for your time, any help would be greatly appreciated.
Anyone know where the user (?) ODBC is coming from and how fix the error I'm receiving?