Re: Database Startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mi, den 24.03.2004 schrieb George Lemos um 17:25:
> > 
> > but if you're just running a web BB, have your choice of 
> > backends, and aren't doing any of your own coding, you don't 
> > really see most of this.
> > 
> > richard
> 
> 
> Well web is all I am looking for right now. I have decided to go with MySQL.
> I ran the command 
> 
> yum mysql install
> 
> It ran, took care of dependencies, and now is sitting on the box with
> version 3.23. Which is fine, I don't mind that its not 4 at this time. I
> thought there was some hubub about version 4 and fedora at this time anyhow.
> 
> 
> However now I have to research how to get it all started up. Theres
> obviously setup that needs to be done because ran I ran the command
> 
> Mysql
> 
> ..and I got ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> 
> Actually when I looked, there isnt even a  /var/lib/mysql/ directory.
> 
> I'll go and google some version 3 docs now, see what I find...

service mysqld start

At first run it will create the basic MySQL DBs. The command to access
the MySQL server on commandline is mysql or mysqladmin - and NOT Mysql.

Be sure you set as one of the first steps a password for the MySQL root
user. Check bugzilla.redhat.com for an error in the mysqld init script
you then have to correct that mysql start does not fail.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 17:40:50 up 5 days, 2:22, load average: 1.25, 1.40, 1.24 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]
             my life is a planetarium - and you are the stars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux