If you downloaded the source tar and built Mysql doing a make/make
install then you won't have a database. 
To create the baseline databases you need to run mysql_install_db which
creates the mysql and test databases under the var directory. Its also
worth copying one of the .cnf files from <prefix>/share/mysql as my.cnf
into the var directory.

Depending exactly on your setup you should end up with
        <prefix>/bin
                  /include
                  /info
                  /share
                  /lib
                  /libexec
                  /man
                  /mysql-test
                  /var/mysql
                        /test

Kevin Cowley
Product Development
Alchemetrics Ltd
SMARTER DATA , FASTER
Tel: 0118 902 9000 (swithcboard)
Tel: 0118 902 9099 (direct)
Web: www.alchemetrics.co.uk
Email: [EMAIL PROTECTED]

> -----Original Message-----
> From: jschmidt [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2005 17:40
> To: Kevin Cowley; mysql@lists.mysql.com
> Subject: RE: MySql error...
> 
> True. I forgot to mention, when doing the normal install from the tar,
the
> files/databases for mysql and test both refused to create, although I
see
> no
> error message indicating that. I believe that the root issue has
something
> to do with the permissions during the make install.
> 
> //jjs
> 
> 
> -----Original Message-----
> From: Kevin Cowley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 08, 2005 9:12 AM
> To: mysql@lists.mysql.com
> Subject: RE: MySql error...
> 
> If you're starting the process as a non-system user then the var
> directory and anything under it should be owned/writable by that user.
> If you're starting it as root then the var directory should be
> owned/writable by mysql:daemon. If you don't have the Mysql user setup
> then the mysqld daemon won't run.
> 
> Kevin Cowley
> Product Development
> Alchemetrics Ltd
> SMARTER DATA , FASTER
> Tel: 0118 902 9000 (swithcboard)
> Tel: 0118 902 9099 (direct)
> Web: www.alchemetrics.co.uk
> Email: [EMAIL PROTECTED]
> 
> > -----Original Message-----
> > From: jschmidt [mailto:[EMAIL PROTECTED]
> > Sent: 08 March 2005 16:44
> > To: 'mel list_php'; [EMAIL PROTECTED]; mysql@lists.mysql.com
> > Subject: RE: MySql error...
> >
> > Hi,
> > I don't have an answer for you yet - but I encountered exactly the
> same
> > situation with one of my systems last weekend. Unfortunately, the
> error
> > file
> > sheds no light at all on the situation. In my case:
> > [EMAIL PROTECTED] mysql]# cat JackFish.intechgra.com.err
> > 050304 07:30:36  mysqld started
> > 050304 07:30:37  mysqld ended
> >
> > I downloaded a full binary distribution and it will fire right up
> using
> > the
> > files/directories in the tar. That being the case I came to the
> conclusion
> > that this is a permissions problem of some kind, but didn't take it
> any
> > further as this is a non-critical issue for me right now.
> >
> > Good luck with it.
> > John J. Schmidt VP Technology/Principal
> > intechgra
> > "Database System Specialists"
> > mailto:[EMAIL PROTECTED]
> > www.intechgra.com
> >
> >
> > -----Original Message-----
> > From: mel list_php [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 08, 2005 8:10 AM
> > To: [EMAIL PROTECTED]; mysql@lists.mysql.com
> > Subject: RE: MySql error...
> >
> >
> > Hi,
> > Have a look in the error file which is in mysql/data and called
> > hostname.err
> >
> > to have more information on why it is shutting down.
> > With that info you usually can find more help on the mysql website.
> > Good luck!
> >
> > >From: "S.Yousaf Shah" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: mysql@lists.mysql.com
> > >Subject: MySql error...
> > >Date: Tue, 8 Mar 2005 20:01:06 +0500 (PKT)
> > >
> > >
> > >
> > >Hi,
> > >I have installed mysql on my system using tar file. But when i
start
> > mysql
> > >it generates following error and shuts down.
> > >Plz help me out to run the MySql server as i have important data on
> it.
> > >
> > >[EMAIL PROTECTED] mysql-standard-4.0.21-pc-linux-i686]# ./bin/safe_mysqld
> > >Starting mysqld daemon with databases from
> > >/home/Yousaf/mysql-standard-4.0.21-pc-linux-i686/data
> > >STOPPING server from pid file
> > >/home/Yousaf/mysql-standard-4.0.21-pc-linux-i686/data/GDI.pid
> > >050308 07:58:36  mysqld ended
> > >
> > >////////////////////////////////////////////////////////
> > >Regards,
> > >Syed Yousaf Shah.
> > >Bit-3B.
> > >Nust Institute of Information Technology.
> > >NIIT Distributed & Grid Computing Research Group.
> > >Web Wizard Nust Institute of Information Technology.
> > >Chaklala Scheme 3 Rawalpindi.
> > >
> > >--
> > >MySQL General Mailing List
> > >For list archives: http://lists.mysql.com/mysql
> > >To unsubscribe:
> > >http://lists.mysql.com/[EMAIL PROTECTED]
> > >
> >
> > _________________________________________________________________
> > It's fast, it's easy and it's free. Get MSN Messenger today!
> > http://www.msn.co.uk/messenger
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> http://lists.mysql.com/[EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> > http://lists.mysql.com/[EMAIL PROTECTED]
> 
> 
>
************************************************************************
**
> **
> **********
> ALCHEMETRICS LIMITED (ALCHEMETRICS)
> Mulberry Park, Fishponds Road, Wokingham, Berkshire, RG41 2GX
> Tel:  +44 (0) 118 902 9000    Fax:  +44 (0) 118 902 9001
> This e-mail is confidential and is intended for the use of the
addressee
> only.
> If you are not the intended recipient, you are hereby notified that
you
> must
> 
> not use, copy, disclose, otherwise disseminate or take any action
based on
> this e-mail or any information herein.
> If you receive this transmission in error, please notify the sender
> immediately by reply e-mail or by using the contact details above and
then
> delete this e-mail.
> Please note that e-mail may be susceptible to data corruption,
> interception
> and unauthorised amendment.  Alchemetrics does not accept any
liability
> for
> any such corruption, interception, amendment or the consequences
thereof.
>
************************************************************************
**
> **
> **********
> 
> 
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
> 



**************************************************************************************
ALCHEMETRICS LIMITED (ALCHEMETRICS)
Mulberry Park, Fishponds Road, Wokingham, Berkshire, RG41 2GX
Tel:  +44 (0) 118 902 9000    Fax:  +44 (0) 118 902 9001
This e-mail is confidential and is intended for the use of the addressee only.
If you are not the intended recipient, you are hereby notified that you must 
not use, copy, disclose, otherwise disseminate or take any action based on this 
e-mail or any information herein.
If you receive this transmission in error, please notify the sender
immediately by reply e-mail or by using the contact details above and then
delete this e-mail.
Please note that e-mail may be susceptible to data corruption, interception and 
unauthorised amendment.  Alchemetrics does not accept any liability for 
any such corruption, interception, amendment or the consequences thereof.
**************************************************************************************


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

Reply via email to