Re: Help with MySQL.

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/14/2011 07:02 PM, Lucélio Gomes de Freitas wrote:
> 
> Hi,
> 
> Issuing the commands:
> [Lucelio@MAQ02 Documentos]$ mysqladmin --version
> mysqladmin  Ver 8.42 Distrib 5.1.58, for redhat-linux-gnu on x86_64
> 
> I guess that MySQL is installed and operating.   But, issuing the command:
> 
That shows that mysqladmin is installed. It does not say that mysql
is running.

> [Lucelio@MAQ02 Documentos]$ mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> [Lucelio@MAQ02 Documentos]$
> 
> Any help creating the configuration/data files for a first cluster use?
> 
> Thanks,
> 
If you run the command "service mysqld status" it will show you if
the mysql daemon is running. By default, it is not set to run when
installed. You have to turn the service on. If you want to do it
from the command line, run, as root:

chkconfig mysqld on
service mysqld start

You will not have to run the two commands again. If the service
command does not return OK, then you have an error in configuration.

Mikkel
- -- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5Ia8YACgkQqbQrVW3JyMSJfgCffADpJhYx364w1lk4ntFYXT1N
9OMAn305ZX8I+Sv4k8JLEcFR16lTeJ9S
=Usko
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux