I´ve installed IIS, php4.3.3, mysql4.0.18, phpmyadmin2.5.3 and also mysql
administrator on Win XP pro.
The system works fine with php. No problems there.
But, when I try to connect to mysql I get the following messages:

#2003 - Can't connect to MySQL server on 'localhost' (10061)

In mysql administrator this message comes:

"MySQL error 1045
Access denied for berraf@localhost"

Here´s my my.ini just in case:
" [client]
port=3306
[mysqld]
port=3306
basedir = c:/mysql/
datadir = c:/mysql/data/
[mysqld-nt]
basedir = c:/mysql/
datadir = c:/mysql/data/
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-nt.exe"

I tried to ping and that works alright.
I´ve also tried starting mysql directly with mysql.exe and then run the
status command and it seems to work proparly
Can someone help me out with this?

//Bengan

Re: Can´t connect to mysql by Ken

Ken
Tue Apr 27 01:18:39 CDT 2004

This does not appear to be an IIS issue. Try a mySQL support forum.

Cheers
Ken


"BeFaS" <gna521g@tninet.se> wrote in message
news:c6kob0$add$1@green.tninet.se...
: I´ve installed IIS, php4.3.3, mysql4.0.18, phpmyadmin2.5.3 and also mysql
: administrator on Win XP pro.
: The system works fine with php. No problems there.
: But, when I try to connect to mysql I get the following messages:
:
: #2003 - Can't connect to MySQL server on 'localhost' (10061)
:
: In mysql administrator this message comes:
:
: "MySQL error 1045
: Access denied for berraf@localhost"
:
: Here´s my my.ini just in case:
: " [client]
: port=3306
: [mysqld]
: port=3306
: basedir = c:/mysql/
: datadir = c:/mysql/data/
: [mysqld-nt]
: basedir = c:/mysql/
: datadir = c:/mysql/data/
: [WinMySQLAdmin]
: Server=C:/mysql/bin/mysqld-nt.exe"
:
: I tried to ping and that works alright.
: I´ve also tried starting mysql directly with mysql.exe and then run the
: status command and it seems to work proparly
: Can someone help me out with this?
:
: //Bengan
:
:
:
:



Re: Can´t connect to mysql by Kristofer

Kristofer
Tue Apr 27 02:12:19 CDT 2004

Hello,

Looks like something is wrong with MySQL, maybe permissions? Did you look in
the MySQL manual for configuring MySQL?`It doesn't seem to be properly
configured.

These links might be of interest:

http://dev.mysql.com/doc/mysql/en/index.html
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


"BeFaS" <gna521g@tninet.se> wrote in message
news:c6kob0$add$1@green.tninet.se...
> I´ve installed IIS, php4.3.3, mysql4.0.18, phpmyadmin2.5.3 and also mysql
> administrator on Win XP pro.
> The system works fine with php. No problems there.
> But, when I try to connect to mysql I get the following messages:
>
> #2003 - Can't connect to MySQL server on 'localhost' (10061)
>
> In mysql administrator this message comes:
>
> "MySQL error 1045
> Access denied for berraf@localhost"
>
> Here´s my my.ini just in case:
> " [client]
> port=3306
> [mysqld]
> port=3306
> basedir = c:/mysql/
> datadir = c:/mysql/data/
> [mysqld-nt]
> basedir = c:/mysql/
> datadir = c:/mysql/data/
> [WinMySQLAdmin]
> Server=C:/mysql/bin/mysqld-nt.exe"
>
> I tried to ping and that works alright.
> I´ve also tried starting mysql directly with mysql.exe and then run the
> status command and it seems to work proparly
> Can someone help me out with this?
>
> //Bengan
>
>
>
>