I decided to install ZM on my backup linux server that runs SUSE 10.2 Server. Having only ever used this server to perform rsync/rsnapshot backups of remote hosts, apache/php/mysql were not installed. I installed apache/php5 using Yast. No problems there. I then went to the mysql site, and got the rpm for SUSE 10.2 which was: MySQL-server-community-5.1.42-0.sles10.i586.rpm. It installed fine. The mysql server is running.
But when I go to the terminal and type "mysql", I get:
kbackup3:/ # mysql
-bash: mysql: command not found
I did a find: find / -name mysql
There is no executable name mysql. What is the deal? Even the mysql 5.1 documentation on mysql.com refers to using the mysql command. Does anyone have any tips?
Problems installing mysql
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Re: Problems installing mysql
I don't know anything about SuSE, but most distributions (Ubuntu / Debian / Redhat) split the mysql server and mysql client into different packages.
Search for mysql-client and see if it pulls up.
Search for mysql-client and see if it pulls up.
-
- Posts: 440
- Joined: Sat Sep 25, 2004 12:45 am
- Location: Fulton, MO
Removing the package and reinstalling it should do the right thing. You shouldn't have to compile anything by sourcenerbonne wrote:I think what happened is that the installed got goofed. I downloaded the rpm package with Firefox, and then let it install automatically. I think the best thing to do is to remove it and install it from source. To uninstall it, I can just stop the service, remove the service, and delete the files?