Well, I've never used rpm, only apt.

In apt, to get the list of mysql installed packages I do
# dpkg -l | grep -i mysql
you should find the equivalent command on rpm; maybe rpm -l but I'm not sure.


Then, when I have the list, I can remove each package with
        #apt-get remove --purge -u <package_name>

then reinstall the package.

> [EMAIL PROTECTED] root]# rpm -e /var/lib/mysql

here it seems you are trying to remove the file, not the package, find out the package installed and then remove it :)

> [EMAIL PROTECTED] root]# mysql
> [EMAIL PROTECTED] root]# mysqld
> [EMAIL PROTECTED] root]# /var/lib/mysql stop
> [EMAIL PROTECTED] mysql]# mysql restart

here it seems that you are tring to make MySQL start. On debian (I use this distribution), for make mysql start, restart, stop i do
#/etc/init.d/mysql start/restart/stop


then I connect to mysql with
        $ mysql <db_name>

Hope this may help you.

Bye D.



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



Reply via email to