RE: Installing MySQL on Linux, HELP!

2004-01-15 Thread Eve Atley

I have had some help on my mysql install woes, and here's the latest.

rpm -qa | grep MySQL - this just hung and never returned anything (see
below)
# service mysqld start
or
# service mysql start - these just returned a new command prompt, so
couldn't tell whether or not they worked. I checked my processes and never
saw mysqld.

I put in 'whereis mysql', and this returned:
/usr/bin/mysql
/user/lib/mysql
/user/share/mysql
/user/share/man/man1/mysql.1.gz

I was going to output a new list of installed packages to ensure that mysql
was in there, but rpm -qa | ./installed_packages doesn't seem to work at the
moment...I can't restart the server right now, so perhaps I could kill and
restart some process? However, this is from yesterday's output:
postgresql-libs-7.3.4-3.rhl9
postgresql-7.3.4-3.rhl9
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9
postgresql-server-7.3.4-3.rhl9

Thanks,
Eve



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Installing MySQL on Linux, HELP!

2004-01-15 Thread Scott Pippin
I was going to output a new list of installed packages to ensure that mysql
was in there, but rpm -qa | ./installed_packages doesn't seem to work at the
moment...I can't restart the server right now, so perhaps I could kill and
restart some process? However, this is from yesterday's output:
 
The RPM database can become corrupted, causing the rpm -qa to hang.  To rebuild the 
database follow the following instructions:
 
ps -ef |grep rpm  - kill all rpm processes
rm -rf /var/lib/rpm/__db*
rpm --rebuild
 
You should then be able to query the rpms.

Scott Pippin
[EMAIL PROTECTED]





RE: Installing MySQL on Linux, HELP!

2004-01-15 Thread Eve Atley

After some trouble with rpm, I managed to create a file of installed
packages. Redhat 9 says I have installed:

MySQL-client-4.0.1-2
perl-DBD-MySQL-2.1021-3
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9

And I am not having any luck with these...starting them, installing them,
compiling them. I have read manuals, taken advice, but nothing comprehensive
to get things to work.

I would prefer to install a version of at least 4 for a server.

Any help is appreciated!

Thanks,
Eve



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Installing MySQL on Linux, HELP!

2004-01-15 Thread dpgirago
And then Eve said...

After some trouble with rpm, I managed to create a file of installed
packages. Redhat 9 says I have installed:

MySQL-client-4.0.1-2
perl-DBD-MySQL-2.1021-3
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9

That's right. That's what you get with RH9. I'm repeating myself here from 
my email to you directly last evening, but I'd use the very clear, very 
accurate manual to build and install from source given at 
http://www.InternetSecurityGuru.com. Everything in that manual, related 
especially to MySQL, works just as documented. 

And I am not having any luck with these...starting them, installing them,
compiling them. I have read manuals, taken advice, but nothing 
comprehensive
to get things to work.

I would prefer to install a version of at least 4 for a server.

The manual uses 4.0.16 but you could substitute whatever version you'd 
like. 

Any help is appreciated!

Help was given. You refused it.

Thanks,
Eve

BTW, at a MySQL training course I attended, the instructor advised _NOT_ 
to go the rpm route.

dave