Install mysql three steps under Solaris

xiaoxiao2021-03-06  104

Mysql installation of the trilogy under Solaris: curson /2004.09.04 open question nonsense: Before we start the installation, please confirm that you want to install version here I use the operating system is the SUN solaris9, database mysql-standard. -4.0.20.tar.gz, please pay attention to your version, otherwise you may have an error !!! Steps Process Note First Prepare ncurses-5.4.tar.gz and MySQL-Standard-4.0.20. Tar.gz (no need to say, install this ^ _ ^) These two bags, optimistic your version number to make sure your GCC, make must be easy to use, if your GCC, make must be used, .patch- 2.5.4-Sol8-Intel-local.gz This patch I also installed, but I don't know if there is any role, autoconf, automake, bison's bag said in the relevant documentation, I haven't appeared. Error. SECOND installation ncurses #gunzip ncurses-5.4.tar.gz # tar xvf ncurses-5.4.tar # cd ncurses-5.4 # ./configure # make # make install to install compile time, what C Compiler, what CMPOMPILER If something, please refer to the installation of libiconv-1.8-sol9-intel-local.gz in the Apacher Tomcat worksheet. This should not have any problem with third installation mysql # gunzip mysql-standard-4.0.20.tar. GZ # tar xvf mysql-standard-4.0.20.tar # ln mysql-standard-4.0.20 mysql # cd mysql # scripts / mysql_install_db --user = mysql # chown -r root. # chown -r mysql data # Chgrp -r mysql. # bin / mysqld_safe --user = mysql & before installation, you should first confirm if you have established a MySQL user group and user specific steps as follows: GroupAdd MySQLUSERADD -G mysql mysql is in other documents Compilation ./configure makemake install I didn't do this, you can also use mysql if you have any different opinions, Please add. Go to some mysql installations. Please go to the mysql / bin directory. If you use the right $ nohup_niceness $ ledir / $ mysqld $ defaults --Basedir = $ my_basedir_version --datadir = $ datadir $ user_option --Pid-file = $ pid_file >> $ ERR_LOG 2> & 1 --Skip-Locking -O max_connections = 1000 >> $ err_log 2> & 1elseeval "$ NOHUP_NICENESS $ ledir / $ MYSQLD $ defaults --basedir = $ MY_BASEDIR_VERSION --datadir = $ DATADIR $ USER_OPTION --pid-file = $ pid_file $ args >> $ err_log 2> & 1 " --skip-locking" $ @ "-o max_connections = 1000 >> $ ERR_LOG 2> &

转载请注明原文地址:https://www.9cbs.com/read-104896.html

New Post(0)