How to setup apache+php+mysql?
Michael S. Dunsavage
mikesd at frontiernet.net
Wed Apr 28 00:35:29 UTC 2004
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 at localhost'
> (Using password: NO) in /home/user/public_html/mysql.php on line 8
> Could not connect : Access denied for user: 'root at 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
--
Michael S. Dunsavage
More information about the redhat-list
mailing list