[Xitami] Xitami, PHP and mySQL
Gunnar Swan
xitami@lists.xitami.org
Wed, 20 Feb 2002 11:46:27 -0800
A bit off topic ... I need to iron out connectivity and permissions.
PHP appear to work. I submit a form and I get a response back.
Until I try to connect to mySQL.
<?
mySQL_Connect("localhost","root","somePassword")
?>
produces the error ...
Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106).
I've searched everywhere for an answer, but all docs blow past how to handle connection problems.
I'm using VB for CGI with success, but I really want to have PHP functionality too.
I've tried using "localhost:3306", my IP, my Domain. I've tried all users.
I can open the database with MYSQL.EXE with all User accounts.
Even Access - ODBC - MYSQL will see the data.
Just not PHP.
Any help is appreciated.