[quote=basketmen;1646556]argh guys i still cannot install biblesupersearch.com software, because my hostname is mysql.mydomain.com and not localhost.
Quote:
Originally Posted by basketmen
i get this error when i want to installing http://www.domain.com/bible/BibleSup...le_install.php
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/.juice/basketmen/domain.com/bible/BibleSuperSearch/bible_mysql.php on line 68
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
i had try change localhost to mysql.mydomain.com bible_mysql.php, bible_inst_login.php and bible_inst_manager.php, but still not solve the problem, its still says cannot connect to the mysql host
please help guys what i miss or i need to change, i had read the instruction careful but still no luck
|
Mine is not localhost either. The installation is supposed to overwrite your bible_login.php file with a new one, therefore prompting you for your database info.
You can try renaming bible_login_demo.php to bible_login.php, edit the file and put in the following information.
<?php
// Enter your MySQL login information below
$host="Put Your DB Address Here";
$user="Put Your DB Username Here";
$password="Put Your DB Password Here";
$db="Put Your DB Name Here";
?>
If that does not work, I can poke at it for you. You would need to pm me the pertinent info tho. (FTP, DB, ACP, etc).