MySQL error during ...
 
Notifications
Clear all

MySQL error during installation

3 Posts
3 Users
0 Reactions
1,750 Views
(@guest1684)
Posts: 0
 

URL to your eFiction: http://www.miuza.com
Version of eFiction:3.3
Have you bridged eFiction, if so with what?: Nope
Version of PHP:
Version of MySQL: 5
Have you searched for your problem: Yes
If so, what terms did you try: MySQL
State the nature of your problem:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.chasm/miuza/miuza.com/install/install.php on line 927

Fatal error: Call to undefined function dbclose() in /home/.chasm/miuza/miuza.com/install/install.php on line 1000

Do you have a test account for us?: Nope

It is my first time installing efiction, and I didn't get beyond the 1st step...  πŸ˜•


 
Posted : 17/06/2007 2:47 pm
(@babaca)
Posts: 722
Member Moderator
 

1. Did you set up a database in MySql first? line 927 is trying to find the database table.

2. Try typing something in the Settings Table Prefix: field. (It can be whatever you want). But the line 1000 in the code is about the settings.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 20/06/2007 11:03 pm
(@jrabbit)
Posts: 64
Trusted Member
 

Ignore the 2nd error - its just a consequence of the first one.

The problem is your PHP installation is unable to connect to the mysql server - it hasn't even gotten as far as checking if the efiction database exists yet. Your PHP is configured to try and connect to mysql through a socket file located in /var/run/mysqld/mysqld.sock and this file does not exist. This could be because:

a) mysql isn't running
b) mysql server is configured differently and is using a TCP/IP port to listen for incomming requests instead of a socket file, or is creating the socket file in a different place

You may be able to make it work by entering 127.0.0.1 in the database host box to force PHP to use TCP/IP to talk to mysql, otherwise contact your hosting company and ask them what the correct connection settings are to connect to the mysql server.


 
Posted : 25/06/2007 8:25 pm
Share: