On Thu, 22 Feb 2001, L.V.Gandhi wrote:
> > >I did exactly as said in PCQ for accessing databases using apache, php
> > >and mysql. When I tried to open test.php, I got the error as
> > >mysql connection failed:access denied to user
> > >root@localhost(PASSWORD=yes)...
I am almost 100% sure that your PHP + MySQL is working properly
What is not working is the root password - the permissions are not right
create a new user and use GRANT to grant this user all the previleges
The syntax of GRANT is given in the MySQL manual
Tarique
--
=========================================
B2B Application Providers
http://www.sanisoft.com
Vortal for Nagpur http://nagpurcity.net
=========================================
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/