[root@trisvr3 Downloads]# rpm - i --relocate /usr/local/MySQl/ MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
rpm: relocations must contain a =
[root@ignitetrisvr3 Downloads]# rpm -i MySQL-server-community-5.0.51a-0.rhel4.i386.rpm
warning: MySQL-server-community-5.0.51a-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Installation of system tables failed!
Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/sbin/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
Notes regarding SELinux on this platform:
=========================================
The default policy might cause server startup to fail because it is
not allowed to access critical files. In this case, please update
your installation.
The default policy might also cause inavailability of SSL related
features because the server is not allowed to access /dev/random
and /dev/urandom. If this is a problem, please do the following:
1) install selinux-policy-targeted-sources from your OS vendor
2) add the following two lines to /etc/selinux/targeted/src/policy/domains/program/mysqld.te:
allow mysqld_t random_device_t:chr_file read;
allow mysqld_t urandom_device_t:chr_file read;
3) cd to /etc/selinux/targeted/src/policy and issue the following command:
make load
Starting MySQL/etc/init.d/mysql: line 159: kill: (5289) - No such process
[FAILED]
Giving mysqld 2 seconds to start
[root@ignitetrisvr3 Downloads]# mysql
bash: mysql: command not found
[root@ignitetrisvr3 Downloads]# cd ..
[root@ignitetrisvr3 ignite]# cd ..
[root@ignitetrisvr3 home]# cd ..
[root@ignitetrisvr3 /]# find / -name"mysql"
find: invalid predicate `-namemysql'
[root@ignitetrisvr3 /]# find / -name "mysql"
/etc/logrotate.d/mysql
/etc/rc.d/init.d/mysql
/var/lock/subsys/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/usr/share/doc/openldap-servers-sql-2.2.13/rdbms_depend/mysql
/usr/share/mysql
/usr/include/mysql3/mysql
/usr/include/mysql
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/DBD/mysql
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/DBD/mysql
/usr/lib/mysql3/mysql
/usr/lib/mysql
[root@trisvr3 /]# rpm -e --nodeps mysql
error: package mysql is not installed