Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-14-2010, 10:00 AM   #1
Registered: Feb 2010
Posts: 33

Rep: Reputation: 0
MySQL setup without "mysql.server" in CentOS5

Hello all,

I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not. Please suggest. Thanks.

Old 07-14-2010, 10:04 AM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
How did you install MySQL? (By selecting it during CentOS install time? Using yum, from the CentOS repositories? Or something else?)

Should be as simple as:
# chkconfig mysqld on
Old 07-14-2010, 11:21 PM   #3
Registered: Feb 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Thanks, anomie. Now can autostart the MySQL everytime reboot the server.

I installed MySQL during the CentOS installation without using yum. And here is the output:
#rpm -qa centos-release mysql\* | sort

Old 07-16-2010, 02:51 AM   #4
Registered: Feb 2010
Posts: 33

Original Poster
Rep: Reputation: 0
Figured this out.

Below is the statement from MySQL doc:

If you use the Linux server RPM package (MySQL-server-VERSION.rpm), the mysql.server script is installed in the /etc/init.d directory with the name mysql. You need not install it manually. Some vendors provide RPM packages that install a startup script under a different name such as mysqld.

So i believe this is my case.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install php-mysql fails with mysql 5.1 - "Error: mysql conflicts with MySQL" rebelde Linux - Software 2 03-13-2009 10:32 AM
free radius server interaction with mysql server ""configuration in code" yawar Linux - Newbie 2 07-23-2008 02:06 PM
How to overcome the RPM "mysql-5.0.27-1.fc6" conflict with mysql database starting kamakshiganesh Linux - General 0 10-22-2007 07:07 AM
Buzilla issue: "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" vitopn Linux - General 3 05-21-2007 10:13 AM
MySQL setup stops at command "./configure --prefix=/usr/local/mysql" k41184 Linux - Software 1 05-20-2004 02:44 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration