List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:July 14 1999 1:36pm
Subject:Auto stArt of mysql w/redhat 6.0
View as plain text  
Scott Seller writes:
 > Hello. I am trying to get mysql started with the system startup but so far
 > I have not been able to. I also want the data directoy to be located in
 > another location (/u02/mysql) I have tried putting my.cnf files in a number
 > of places and they are never read. When mysql is started from the command
 > line, it starts fine (but still refuses to find the my.cnf file)
 > 
 > If anyone can give me some pointers I would appreciate it. I am at the
 > point where I would be wqilling to allow someone to telnet into the machine
 > to help <g>
 > 
 > I am also finding that none of the files are in the locations specified in
 > the docs. Is this a just the way RedHat created the RPM?
 > 
 > Thanks!
 > 
 > Scott Seller
 > 

Hi!


First of all, I advise you to look at the mailing list archives. There 
have been numerous discussions on the optimal manner of server
startup.


I still think that rc.local is the best place for it.


Regarding different directory, you have to start a server with
--datadir-=...  Also, do not forget to shutdown mysqld first and to
copy all files.



BTW telnet support is reserved for registered users.


Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
Auto stArt of mysql w/redhat 6.0Scott Seller14 Jul
  • Auto stArt of mysql w/redhat 6.0sinisa14 Jul