PDA

View Full Version : db_mysql.php on line 29 & line 37 errors


Byron
Mon 13th Nov '00, 5:07am
Database server type: mysql
Database server hostname / IP address: localhost
Database username: root
Database password:
Database name: freewareforum

( I was told by my hosting company that Database password default is none. There will be password only if they set it using mysqladmin )



Attempting to connect...

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in db_mysql.php on line 29

Warning: 0 is not a MySQL link index in db_mysql.php on line 37


please advise.
Byron

Byron
Mon 13th Nov '00, 5:39am
My hosting company just gave me the below answer which is not helpful. Please advise.


Hi,

You need to specify the port.
Port 3306 is taken by another customer of us. The application need to talk to the port of the mysql that your domain is running.

Byron
Mon 13th Nov '00, 7:42am
Latest response from my hosting company.

Hi,

You can use port between 1300-65000 and the port info should be placed inside the .my.cnf file.
Please refer to this url for more details on the port declaration (4.16.3):
http://mysql.com/documentation/mysql/bychapter/

JimF
Mon 13th Nov '00, 11:33am
<!--
Mod Note:
Chris - this was originally posted in the vBLite forum. It's a little beyond my area of expertise, and figured it was better suited for this forum anyway. Please move it back if necessary.
-->

Byron, hopefully somebody who frequents this forum will be able to help you out a little more.

-jim

Byron
Mon 13th Nov '00, 11:35am
Thank you JimF