|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by XK8ER in Unix Operating Systems, Unix Setup, MySQL Server
hello there.
I am trying to setup mysqld with innodb and sphinx but for some reason it works on one server
and in the other two server it just doesn't work.. all 3 are running on centos v5.3
I uploaded the conf file with the mysql start script and wrote here line by line all the procedures
that I did.. when I try to start the mysql I get this..
Starting MySQL. Manager of pid-file quit without updating file.[FAILED]
would really appreciate it if someone can help me out!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
|
mkdir downloaded_src; cd downloaded_src
wget http://www.sfr-fresh.com/unix/misc/mysql-5.1.39.tar.gz
wget http://www.innodb.com/download/innodb_plugin/innodb_plugin-1.0.4.tar.gz
wget http://www.sphinxsearch.com/downloads/sphinx-0.9.8.1.tar.gz
untar mysql-5.1.39.tar.gz; untar sphinx-0.9.8.1.tar.gz; untar innodb_plugin-1.0.4.tar.gz; cd mysql-5.1.39; del storage/innobase/
mv ../innodb_plugin-1.0.4 storage/innobase; mv ../sphinx-0.9.8.1/mysqlse storage/sphinx
rpm -q libtool if its not installed then yum install libtool
sh BUILD/autorun.sh
./configure --help
./configure --prefix=/opt/mysql-5.1.39 --with-mysqlmanager --with-mysqld-user=mysql --enable-assembler --enable-local-infile --with-charset=utf8 --with-extra-charsets=all --with-fast-mutexes --with-plugins=partition,archive,csv,federated,heap,innobase,myisam,sphinx,myisammrg
make
make install
cd /opt/mysql-5.1.39/; mkdir etc
copy the file -> /opt/mysql-5.1.39/etc/mysql.server
copy the file -> /opt/mysql-5.1.39/etc/my.cnf
cp -r /root/downloaded_src/mysql-5.1.39/scripts/ /opt/mysql-5.1.39/; cp -r /root/downloaded_src/mysql-5.1.39/support-files/ /opt/mysql-5.1.39/
./scripts/mysql_install_db --basedir=/opt/mysql-5.1.39/ --datadir=/opt/mysql-5.1.39/data/
chmod +x etc/mysql.server; chown -R mysql:mysql /opt/mysql-5.1.39
/opt/mysql-5.1.39/etc/mysql.server start
ps aux | grep mysql
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_EXPERT_20070906