PDA

View Full Version : Please Help


tomhuynh
Tue 5th Jun '01, 9:42am
Dear Tech:

I'm having 2 problems when installing the mySQL and PHP.
The first the problem is that i couldn't not add mySQL root user. I try the following but doesn't work:
<b>/usr/local/mysql/bin/mysqladmin -u root -p password 'new-password'</b>
It give the following error:
<b>/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: YES)'</b>
And aslo how do i turn off or delete a user from mySQL?

The second problem is that i couldn't find the <b>DirectoryIndex</b> in <b>/etc/httpd/conf/httpd.conf</b>
to add<b>DirectoryIndex index.html index.cgi ... index.php index.php3</b> according to the instruction to installed PHP...what should i do? can i just add DirectoryIndex index.html index.cgi ... index.php index.php3 anywhere in the /etc/httpd/conf/httpd.conf file?

Many thanks in advance for your help.
Sincerely,