Apache, MySQL, and PHP on a clean CentOS Server Fails
Hey,I am following..
http://www.hostlibrary.com/installin...l_php_on_linux
I've got to the MySQL however it always fails with this..
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./configure -prefix=/usr/local/mysql -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysqld-user=mysql -enable-large-files-without-debug
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
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.
Installing all prepared tables
060210 4:28:54 ./bin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h server.efraudcall.com password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /mysql-standard-4.0.26-pc-linux-gnu-i686/data
STOPPING server from pid file /mysql-standard-4.0.26-pc-linux-gnu-i686/data/server.efraudcall.com.pid
060210 04:28:54 mysqld ended
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# configure -prefix=/usr/local/mysql -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysqld-user=mysql -enable-large-files-without-debug
-bash: configure: command not found
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./configure -prefix=/usr/local/mysql -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysqld-user=mysql -enable-large-files-without-debug
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
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.
Installing all prepared tables
060210 4:29:38 ./bin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h server.efraudcall.com password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /mysql-standard-4.0.26-pc-linux-gnu-i686/data
STOPPING server from pid file /mysql-standard-4.0.26-pc-linux-gnu-i686/data/server.efraudcall.com.pid
060210 04:29:38 mysqld ended
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# mysqladmin
-bash: mysqladmin: command not found
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./bin/
-bash: ./bin/: is a directory
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./bin/mysqladmin version
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]#
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
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.
Installing all prepared tables
060210 4:28:54 ./bin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h server.efraudcall.com password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /mysql-standard-4.0.26-pc-linux-gnu-i686/data
STOPPING server from pid file /mysql-standard-4.0.26-pc-linux-gnu-i686/data/server.efraudcall.com.pid
060210 04:28:54 mysqld ended
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# configure -prefix=/usr/local/mysql -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysqld-user=mysql -enable-large-files-without-debug
-bash: configure: command not found
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./configure -prefix=/usr/local/mysql -localstatedir=/usr/local/mysql/data -disable-maintainer-mode -with-mysqld-user=mysql -enable-large-files-without-debug
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
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.
Installing all prepared tables
060210 4:29:38 ./bin/mysqld: Shutdown Complete
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h server.efraudcall.com password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &
You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests
Please report any problems with the ./bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server. You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /mysql-standard-4.0.26-pc-linux-gnu-i686/data
STOPPING server from pid file /mysql-standard-4.0.26-pc-linux-gnu-i686/data/server.efraudcall.com.pid
060210 04:29:38 mysqld ended
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# mysqladmin
-bash: mysqladmin: command not found
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./bin/
-bash: ./bin/: is a directory
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]# ./bin/mysqladmin version
./bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@server mysql-standard-4.0.26-pc-linux-gnu-i686]#
[root@server /]# rpm -i MySQL-server-standard-5.0.18-0.rhel3.i386.rpm
warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-standard-5.0.18-0.rhel3.i386
Suggested resolutions:
perl-DBI-1.40-8.i386.rpm
[root@server /]#
warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
perl(DBI) is needed by MySQL-server-standard-5.0.18-0.rhel3.i386
Suggested resolutions:
perl-DBI-1.40-8.i386.rpm
[root@server /]#
[root@server /]# rpm -i perl-DBI-1.40-8.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by perl-DBI-1.40-8.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by perl-DBI-1.40-8.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by perl-DBI-1.40-8.x86_64
[root@server /]#
error: Failed dependencies:
libc.so.6()(64bit) is needed by perl-DBI-1.40-8.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by perl-DBI-1.40-8.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by perl-DBI-1.40-8.x86_64
[root@server /]#
Thanks in advance!
- James