Hello.


Is there an error log in /export? Have you set the correct permissions?

See:

  http://dev.mysql.com/doc/mysql/en/starting-server.html







"Jeff Drew" <[EMAIL PROTECTED]> wrote:

> [-- text/plain, encoding quoted-printable, charset: iso-8859-1, 31 lines --]

> 

> Can the the datadir be changed with a .rpm install on SuSE? 

> 

> Our SA gave us a large partition on /export. We installed the .rpm and were 
> running fine with the datadir set to the default /var/lib path. So I need to 
> move the datadir to /export. Since we're just moving to Production, we do not 
> need the data currently residing on /var/lib. Going forward, we need to 
> read/write to /export. 

> 

> I have not been able to get mysql running with the datadir set to /export. I 
> read in the documentation that the datadir is set at build time for some 
> distributions, but it also explains how to change the datadir in my.cnf, etc 
> so I'm confused.  

> 

> To move datadir to /export, I:

> 1. Changed the datadir parameter to /export in the /etc/my.cnf file

> 2. Reran mysql_database_install script. 

> 3. Verified that all the appropriate files and directories appear to have 
> installed under /export. 

> 

> However, the mysqld_safe script says it's:

>    - using /export for data

>    - using a .pid file in /export 

>    - exits without starting mysql. 

> There are no other error messages. 

> 

> Can datadir be set to /export successfully? If yes, is there some other 
> configuration that needs to be changed? 

> 

> Thanks 

> 

> Jeff



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to