FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23487&th=4815#msg_23487
In step 2 of the install script I get the following warnings:
"Warning: mysql_connect(): Can't connect to MySQL server on '127.0.0.1' (111) in /var/www/html/forum/install.php on line 83
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /var/www/html/forum/install.php on line 87
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/html/forum/install.php on line 121"
And then the message:
"Failed to connect to the MySQL Server, SQL Reason: Can't connect to MySQL server on '127.0.0.1' (111)"
I believe the problem is that the mysql service is not running. When I try to start it in the list of services it is not listed. MySql is installed on the computer.
If I enter mysql in a terminal window I get the following:
"ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
If I look at the /var/lib directory there is no mysql subdirectory.
Suggestions?
Jim]]>fjrohlf2005-03-18T15:54:52-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23488&th=4815#msg_23488
try starting it with
service mysql start
thats the way it used to be done in redhat 9..i don't know about the enterprise edition but suspect that it has not changed....
About there being no mysql dir in /var/lib....i don't know...might be that redhat enterprise has it in a diff location but i doubt it..
maybe its not installed correctly.......
anyways..try starting it first before doing any re-installs/un-installs.....
regards]]>dennisp2005-03-18T15:59:59-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23489&th=4815#msg_23489
"mysql: unrecognized service"
Somehow the service does not exist.]]>fjrohlf2005-03-18T16:02:00-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23490&th=4815#msg_23490
Ilia2005-03-18T16:12:00-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23492&th=4815#msg_23492
If I enter mysql in a terminal window I get the following:
"ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)"
The RH add/remove program tool says that various mysql features are installed.]]>fjrohlf2005-03-18T17:25:27-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23493&th=4815#msg_23493
Ilia2005-03-18T17:29:58-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23498&th=4815#msg_23498
fjrohlf2005-03-18T18:54:19-00:00Re: trying to install but mysql problem
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=23500&th=4815#msg_23500
Thanks for the help. Now to try to get past step 2 of the install ...