I've had similiatr problems setting passwords on my redhat box.
Tried % mysql -p -u root mysql:
Got error message:
"Access denied for user root@localhost" (using password:YES)
Help, please!!!
-Original Message-
From: Paul DuBois [mailto:[EMAIL PROTECTED]]
Sent: Sunday,
PROTECTED]; Mysql (E-mail)
Subject: Re: Newbie on the verge --of connecting mysql/php? --a
breakdown? Please help
Does you /var/lib/mysql/mysql.sock exist ?
If not, try connecting through TCP/IP by removing localhost and writing
"127.0.0.1:3306"
- Markus
- Original Message -
Here's the saga.
1) I installed php, apache and mysql via redhat seven installation disks.
2) problems with mysql
3) reinstalled latest mysql from official site. (rpm wouldnt remove
distributions, so I renamed the old mysql bin files to a .bak extension
before installing new version on /usr/local
If anyone can tell what I'm doing wrong, I will be greatly appreciaed.
Here is the php code.
MySql Connection
And here are the error messages:
If anyone can tell what I'm doing wrong, I will be greatly appreciaed.
Here is the php code.
MySql Connection
And here are the
I'bve been following SAM'S TEACH YOURSELF MYSQL and hit a glitch. Whenn I do
what I'm told to do create passwords here's what happens
prompt> insert into user (host, user, password) values('localhost', 'myname'
password('testpass');
I get the following error:
"Syntax error near unexoecte
I hope this question isn't too elementary for this list. I am brand new to
mysql. Working off redhat linux 7.0. I run "safe_mysql &" I get a message
saying it is connecting and then a message "mySql daemon ended." When I run
"./bin/mysqladmin create testDB" I get the following message: