I'm having an issue with PHP inserting what seems to be randomly blank entries into a MySQL table. I'm a n00b developer and I'm sure this is a simple issue, but just can't seem to figure it out, and searching here and Google hasn't turned up a solution. Here's the code I'm working with...
Thank you hvass, your comment lead me to finding the answer!
After investigating the user table, there's an entry for localhost where the username is blank. After issuing the following command:
set password for ''@'localhost' = password('****');
now when I try to connect without...
I've done a bit of searching on this and can't find anyone with my exact issue.
When I type mysql at the command prompt, and do not specify a username or password, it automatically connects using ODBC@localhost, and doesn't require a password of any kind. I can specify root and it does ask for...
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.