You don't have the permission to access the mysql database as the user '[EMAIL 
PROTECTED]' because even if this user exist it have to be added in the list of known 
users of mysql. You can do that by using in a Linux the mysql_setpermission:

mysql_setpermission -u {your_super_user}

and then use option 4 from list.

When the username is asked use : '[EMAIL PROTECTED]' and password and also run the 
script again and use the user '[EMAIL PROTECTED]' and you shouldn't have no more 
problems 



-- 
-------------------------------------------------
Cristian MARIN
InterAKT Online (www.interakt.ro)
+4021 411 2610 
[EMAIL PROTECTED]

  "Bobo Wieland" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
  Okey, I still need help!

  The error message still states as follows:
   Warning: mysql_connect() [function.mysql-connect]: Access denied for user:
  '[EMAIL PROTECTED]' (Using password: YES) in
  E:\pingstkyrkan\data\common_db.inc on line 12
   0: Connection faild to the host localhost.

  I have no idea what to do, but I expect that it all has to do with my
  inexperience of installing and configuring these things. Iäve only installed
  PHP/MySQL/Apache one time before and it was a pain! =)

  I started with installing Apache2 (used Apache 1.somthing before...). Then I
  installed php4.3 and managed them to work together. the only problem that I
  see is that, before I could only access the webserver localy (127.0.0.1)
  wich is what I want, but now I can use my external IP and connect to my
  webserver. I only want it to be a local webserver...
  Anyway, I installed MySQL 4.0.13 and it seems to work okey by itself. But
  trying to connect to it via PHP is hopeless. As i understand it the user
  information is correct, but it still doesn't work. A quick look at php.ini
  though says, under MySQL; "Client API version: 3.23.49". Shouldn't it read
  4.0.13?!?

  I have no idea if I should do any changes to php.ini, httpd.conf or my.ini.

  Please help me!


  Thank you all!



  .bobo

  ----- Original Message ----- 
  From: "Bobo Wieland" <[EMAIL PROTECTED]>
  To: "Ryan Marrs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
  Sent: Thursday, May 29, 2003 12:57 PM
  Subject: Re: [PHP-WIN] Installation problems...


  > I'm running PHP as ISAPI (i think... ;-) ) and I use Apache2 - which I've
  > restarted a number of times...
  >
  > *sigh*
  >
  >
  > thanks!
  >
  >
  > .bobo
  >
  >
  > ----- Original Message ----- 
  > From: "Ryan Marrs" <[EMAIL PROTECTED]>
  > To: "'Bobo Wieland'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
  > Sent: Thursday, May 29, 2003 12:54 PM
  > Subject: RE: [PHP-WIN] Installation problems...
  >
  >
  > > Are you running PHP as ISAPI or CGI?
  > >
  > > If it's ISAPI, you'll need to restart IIS before your changes to the
  > php.ini
  > > file will take effect.
  > >
  > >
  > >
  > > -----Original Message-----
  > > From: Bobo Wieland [mailto:[EMAIL PROTECTED]
  > > Sent: Thursday, May 29, 2003 6:51 AM
  > > To: [EMAIL PROTECTED]
  > > Subject: [PHP-WIN] Installation problems...
  > >
  > >
  > > Trying to reinstall PHP/MySQL/Apache on my WinXP setup...
  > >
  > > Ran in to some trouble though, that I hope you can help me with...
  First,
  > > I'm getting the following warning message:
  > >
  > > "Warning: session_start() [function.session-start]:
  > > open(/tmp\sess_a0b08aae778010e958503bfde26c0ab5, O_RDWR) failed: No such
  > > file or directory (2) in E:\plantis\sida_1.php on line 1"
  > >
  > > I have PHP installed in D:\PHP and in php.ini I've the session save path
  > set
  > > to: "D:/PHP/tmp". The directory "tmp" is in my PHP directory.
  > >
  > >
  > >
  > > Second problem. I can't connect to mysql. The message says the
  following;
  > >
  > > Warning: mysql_connect() [function.mysql-connect]: Access denied for
  user:
  > > '[EMAIL PROTECTED]' (Using password: YES) in
  > > E:\pingstkyrkan\data\common_db.inc on line 12
  > > 0: Connection faild to the host localhost.
  > >
  > > I don't even know if I've installed MySQL correctly... WinMySQLAdmin
  says
  > > MyODBC; Not Found, Driver 3.51 Not Found....
  > >
  > > Why should it be so hard to install and configure these things?!? Is it
  > > because it's free software?
  > >
  > >
  > >
  > > Please help me!
  > >
  > >
  > >
  > > thanks!
  > >
  > >
  > >
  > >
  > > .bobo
  > >
  > >
  >
  >
  > -- 
  > PHP Windows Mailing List (http://www.php.net/)
  > To unsubscribe, visit: http://www.php.net/unsub.php
  >
  >


Reply via email to