Re: How to setup apache+php+mysql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael S. Dunsavage wrote:

Ding Li wrote:

How do I know it is running correctly? I used '/etc/init.d/mysqld start' to run mysql.

btw: the error is like this,

  Warning:  mysql_connect():  Access  denied  for user: 'root@localhost'
  (Using password: NO) in /home/user/public_html/mysql.php on line 8
  Could  not  connect  : Access denied for user: 'root@localhost' (Using
  password: NO)

What's wrong?

Michael S. Dunsavage wrote:

Ding Li wrote:

Hi,gurus

I am trying to setup a server with apache+php+mysql,but I can only make apache+php work. How to setup mysql and use php to administrate mysql database?

Thanks



is mysqld running?



try mysql -u root -p

I used this command to setup password for root,but I still get the error message.:(



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux