On Mon, 2005-05-09 at 14:00 +1200, motivated wrote:
> rpm -qa|grep sql
> 
> returns:
> 
> postgresql-7.4.1-2mdk
> perl-mysql-1.22_19-9mdk
> libmysql12.4.18-1mdk
> postgresql-server -7.4.1-2mdk
> 
> Wating further instruction
> 
> Thanks guys
> Regards Kelvyn

Kelvyn

You need to ask better questions. 

What is it you want to do? 

Find out of mysql is installed? 

Start mysql so that you can use it? 

Set up a database, tables, privileges? 

Write some web software that accesses a Mysql database?

Please indicate what you are trying to achieve - it will help people
answer you better. 

In the meantime, the command you were given below is not quite correct
because it's case sensitive on the grep.  

Try:

rpm -qa | grep -i mysql

The -i ensures the search results case insensitive. This is important
because under Mandrake the mysql packages start with MySQL- i.e.:

rpm -qa | grep -i mysql on my Mandrake 10.1 box results in: 

php-mysql-4.3.8-1mdk
perl-Mysql-1.22_19-9mdk
MySQL-client-4.0.20-3.4.101mdk
MySQL-common-4.0.20-3.4.101mdk
MySQL-4.0.20-3.4.101mdk
libmysql12-4.0.20-3.4.101mdk


So, try  'rpm -qa | grep -i mysql' and if mysql isn't installed then
type (as root):

urpmi mysql mysql-client mysql-common

Then to start mysql (again as root):

service mysql start





Reply via email to