LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2004, 10:33 AM   #1
juanb
Member
 
Registered: May 2002
Posts: 401

Rep: Reputation: 30
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 !!
 
Old 08-10-2004, 09:23 PM   #2
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating from MS-SQL server to My-SQL emailssent Linux - Networking 2 02-07-2005 02:20 PM
Which SQL is suitable for EMbedded SQL on C? hk_michael Programming 4 01-10-2005 05:07 PM
linux version of sql*plus pitts68 Linux - Newbie 3 10-25-2004 01:24 PM
Running SQL on linux digital bots Linux - Software 3 06-04-2004 04:44 PM
freetds-perl-linux-m$sql hrc Linux - Software 0 03-08-2004 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration