Access denied for user 'ODBC'@'localhost' (NEED HELP)

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

Access denied for user 'ODBC'@'localhost' (NEED HELP)

Postby newcster68 » 07. December 2005 21:08


Im really running into a problem.

I install a mod onto either my invision powerboard or vbulletin board and it installs fine until I try to access the forum. When I attempt to do so I get an error message that reads:
Code: Select all
dbconn: mysql_connect: Access denied for user 'ODBC'@'localhost' (using password: NO)

How do I set the username and password for ODBC?

Im running xampp and I have the username and password already set in mysql.. I looked in my php.ini and saw this line:

Code: Select all
;odbc.default_db    =  Not yet implemented
;odbc.default_user  =  Not yet implemented
;odbc.default_pw    =  Not yet implemented

; Allow or prevent persistent links.
odbc.allow_persistent = On

; Check that a connection is still valid before reuse.
odbc.check_persistent = On

; Maximum number of persistent links.  -1 means no limit.
odbc.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
odbc.max_links = -1

; Handling of LONG fields.  Returns number of bytes to variables.  0 means
; passthru.
odbc.defaultlrl = 4096

; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
; of uodbc.defaultlrl and uodbc.defaultbinmode
odbc.defaultbinmode = 1
Do I set it in this line or somewhere else or can I just delete the entire line from the file.
Posts: 1
Joined: 07. December 2005 20:48

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests