Have a problem with mysql installing on Cent os |
![]() ![]() |
Have a problem with mysql installing on Cent os |
Apr 15 2009, 03:49 AM
Post
#1
|
|
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 105 Joined: 22-May 08 Member No.: 265 |
Hi
I have installed the mysql on my box with the help of link http://lamphowto.com/ and am not able to do the below step cd /usr/local/src/mysql-4.1.22 ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --without-comment --without-debug --without-bench and its showing the error like NOTE: This is a MySQL binary distribution. Its ready to run, you dont need to configure it! To help you a bit, I am now going to create the needed MySQL databases and start the MySQL server for you. If you run into any trouble, please consult the MySQL manual, that you can find in the Docs directory. ./scripts/mysql_install_db: line 115: ./bin/my_print_defaults: cannot execute binary file Neither host server.aol.com nor localhost could be looked up with ./bin/resolveip Please configure the hostname command to return a correct hostname. If you want to solve this at a later stage, restart this script with the --force option and try to run the following cmds /etc/rc.d/init.d/mysql start /etc/rc.d/init.d/mysql stop its throwing error etc/init.d/mysql: line 237: ./bin/my_print_defaults: cannot execute binary file /etc/init.d/mysql: line 240: ./bin/my_print_defaults: cannot execute binary file MySQL manager or server PID file could not be found! [FAILED] /etc/init.d/mysql: line 237: ./bin/my_print_defaults: cannot execute binary file /etc/init.d/mysql: line 240: ./bin/my_print_defaults: cannot execute binary file Starting MySQL/etc/init.d/mysql: line 159: kill: (6485) - No such process [FAILED] as am doing it for first time not able to find out what the error is.... can anyone help me how to resolve this. and am planning to setup my local machine with apache,tomcat,mysql and perl and make it as website. please help me how to do this. Thanks Raji Topic Replies: 0 |
|
|
|
![]() ![]() ![]() |
|
Lo-Fi Version | Time is now: 14th March 2010 - 08:06 PM |