note 8968 added to mysql_connect

From: Date: Mon, 09 Oct 2000 18:36:15 +0000
Subject: note 8968 added to mysql_connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-6249@lists.php.net to get a copy of this message
Does anyone know what I'm doing wrong with the following command and resulting error message?: mysql_connect("address:port:path_to_mysqlsock_file", "username", "password); Warning: MySQL Connection Failed: Can't connect to mysql server on [address] (111) in [path] on line 12. I have the correct mysqlsock_file path. The username and password are obviously the account username and password, and the ownership of the directory files (*.frm, *.ISM, *.ISD) are all chown and chgrp by the username I'm using. http://www.php.net/manual/function.mysql-connect.php

« previous php.notes (#6249) next »