Access denied for user 'ODBC'@'localhost' (using password: N

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Access denied for user 'ODBC'@'localhost' (using password: N

Postby bombnail » 24. July 2010 23:30

Access denied for user 'ODBC'@'localhost' (using password: NO)

I hae installed and uninstalled 4 times the latest XAMPP on Win7, seems i can connect bust every time i try to run a query i get this error.
Never happened before, have used this query 1000 times before on my old setup.
Could it be a PHP version issue?
bombnail
 
Posts: 3
Joined: 24. July 2010 14:27

Re: Access denied for user 'ODBC'@'localhost' (using password: N

Postby Altrea » 24. July 2010 23:40

looks like your script tryies to send a query without doing a connect.
If this is the case php tries to do a default connect with the data you get in the error message.

Have you recently updated your XAMPP to a Version with PHP 5.3 (XAMPP 1.7.2 or 1.7.3).
If this is the case, then try the search for short_open_tags.

btw: This is the german part of the board. Next time look better for the right forum to post!
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Access denied for user 'ODBC'@'localhost' (using password: N

Postby bombnail » 25. July 2010 03:34

Worked out the error, maybe what i did is what alot of ppl are doing, i copied the contents of the htdocs folder and after i re-installed XAMMP i copied my HTDOCS contents back over, what i didnt realise is that there is an XAMPP folder in there and i had over written it.
Also i set XAMPP without assigning a drive letter, if that helps.. Either way it now works!.
bombnail
 
Posts: 3
Joined: 24. July 2010 14:27

Re: Access denied for user 'ODBC'@'localhost' (using password: N

Postby bombnail » 25. July 2010 03:35

Altrea wrote:looks like your script tryies to send a query without doing a connect.
If this is the case php tries to do a default connect with the data you get in the error message.

Have you recently updated your XAMPP to a Version with PHP 5.3 (XAMPP 1.7.2 or 1.7.3).
If this is the case, then try the search for short_open_tags.

btw: This is the german part of the board. Next time look better for the right forum to post!


Sorry, yes is was 1am and i was so so tired.
bombnail
 
Posts: 3
Joined: 24. July 2010 14:27


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 121 guests