How to setup apache+php+mysql?
Ding Li
achillis2002 at gawab.com
Wed Apr 28 01:03:36 UTC 2004
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 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
>
I used this command to setup password for root,but I still get the error
message.:(
More information about the redhat-list
mailing list