Does anyone know how to get mysql up and running with the installed version that comes with redhat linux?
I've spent hours with no progress.
Thank you
Which part are you having problems with? If you have installed the redhat rpm, just do:
/etc/init.d/mysqld start
to start the server.
If you have already tried that, please provide more specific details of where you are having problems.
When I varify the mysql-server package it says that theres a problem with /var/log/mysqld.log . I went there and found nothing. Also when I do "mysql &" it comes back with a error saying connot connect to local mysql server through socket '/var/lib/mysql/mysql.sock . I went there and nothing was there. It seems that the mysql server package out of the redhat box may have a problem. I've varified the mysql server package right off the disk and it comes back with a problem warning.
I have reinstalled linux and the same problem exists. Is there something I'm not doing or is there a package that i'm not installing
ok I did a rpm on my system which is redhat professional server 7.1. I found out that many packages are missing. Some of these are not installing correctly. Such as mysql-server. Has anyone had this problem? Is there a way around this. Redhat that touts their support all over their $200 software box is next to imposible to contact and when you do it's to tell you that you need to contact some other department. Point-- Don't buy software that you can download for free thinking you will increace your learning curve. You'll just be throuing your money away!!! Nomatter how much they tout their docs(junk) or customer service.
Make sure you have the rpm's correctly installed. Use your installation CD, or visit the RedHat ftp site. You will need to install:
mysql-3.23.36-1.i386.rpm
mysql-server-3.23.36-1.i386.rpm
mysqlclient9-3.23.22-4.i386.rpm
and possibly
mysql-devel-3.23.36-1.i386.rpm
Install those with 'rpm -Uvh <filenames>'
If you get messages about missing dependancies you will have to install additional packages. Once you have those installed, try running '/etc/init.d/mysqld start' and let us know what the output is.
When you start mysqld are you starting as root or are you starting as another user?
The reason I ask is that if your mysqld process does not have the proper permissions to write to the directories you reference in your posts, then problems occur. If you are starting mysqld as a non-root user, you must set the permissions appropriately for the logfile and the other file.
When I install the mysql-server in "root" it installes, Then I do a varify and it comes back with one problem. /var/log/mysqld.log and the problem is "=@". Thats is what it says is the problem "=@" with out the quots. The mysqld.log is not installing. I have changed the permission to /var/ and /log/ to 0777 just to make sure that its not a permission problem. What do you think the problem is.
What do you mean you "do a verify"? What commands are you running?
If I do a rpm -V mysql-server I get:
"missing /var/log/mysql.log"
I've reinstalled mysql-server many times and its always the same way. /var/log/mysql.log is not installing.
touch /var/log/mysqld.log
I did the touch and got mysqld.log, but now when I do a rpm I'm getting problem /var/log/mysqld.log user,group, file mode
On my box permissions are:
$ ls -l /var/log/mysqld.log
-rw-r----- 1 mysql mysql 0 Oct 28 04:02 /var/log/mysqld.log
I have many missing packages ie perl, php and other packages missing.
With mysql I am also missing /var/lib/mysql/mysql.sock.
I think I have a bad instalation disk.