Hello guys
Here is the problem. You may find it trivial, but it is a serious obstacle for me. I make a database, a table in mysql and it goes fine.
Then I try to view my table with PHP. I am pretty sure that I can't connect to the database.
In particular "$db = mysql_connect("localhost", "root", "") or die;" statement doesn't seem to be valid.
Should I use another username, password or both? Are there any suggestions?
Trying to solve the previous problem I face a new one: My new username is not anymore "root", but "root@localhost". This happened during a phonecall assistant by a friend. How did this happen? How can I generally change my username?
If the previous explanation is not clear all I mean is: when I try to access mysql the: "mysql -u root" command is not valid. Instead I get this message: "access denied for user: 'root@localhost' (Using password: NO).
Thanks for the cooperation
- MYSQL problems Jonathan Almarez
- Mysql problems mike
- re: Mysql problems Egor Egorov
- Re: Mysql problems gerald_clark
- RE: mysql problems porcupine
- RE: mysql problems Don Read
- Mysql Problems Aaron Axelsen
- re: Mysql Problems Egor Egorov
- MySQL Problems Shawn Zernik
- Re: MySQL Problems Victoria Reznichenko
- mysql problems gamalt tant
- Mysql 64 bit vs. Mysql 32bit Santiago Flores
- Re: Mysql 64 bit vs. Mysql 32bit fbeltran
- Re: Mysql 64 bit vs. Mysql 32bit David Griffiths