sql on linux
HI ,
I use RH 8. and I tried to only install the sql client I issued the following command and it says that he installed the server also:( which I dont want): [root@snortjrdmz mysql-3.23.52-pc-linux-gnu-i686]# ./configure --without-server --prefix=/usr/local/mysql 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. Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 040810 20:25:57 ./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 ! This is done with: ./bin/mysqladmin -u root password 'new-password' ./bin/mysqladmin -u root -h snortjrdmz password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd . ; ./bin/safe_mysqld & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench ; 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@snortjrdmz mysql-3.23.52-pc-linux-gnu-i686]# chown: `mysql': invalid user Starting mysqld daemon with databases from /snortinstall/mysql-3.23.52-pc-linux-gnu-i686/data 040810 20:25:57 mysqld ended whats going on? and what he mean by "To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system" what to do to start mysql client outomatically ? thanks !! |
First off that looks to be a really old version of mysql you might want to grab a newer version from mysql.com, if you just want the mysql client you will probably need to download the source version of mysql from mysql.com
http://dev.mysql.com/downloads/mysql/4.0.html All the way at the bottom is the link to download the source version, of course you can have the regular version installed with all the server stuff but just not have the server running. |
All times are GMT -5. The time now is 10:39 PM. |