Re: Help with MySQL.

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

 




Em 14-08-2011 20:39, Steven Stern escreveu:
> 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:
>>
>> [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,
>>
> The MySQL daemon isn't running. You need to start it.
>
>
> sudo /sbin/service chkconfig mysqld on
Thank you, "sudo /sbin/service mysqld on".
> sudo /sbin/service mysqld start
It works now.

Can you please indicate, where to find an short example of using it
inside a "C" program?

thanks again.

-- 
Lucélio Gomes de Freitas
ETFCSF-> U.G.F.-> P.U.C.(RJ)
Engº, Analista Suporte(Free Mind).
Email: aa.lucelio@xxxxxxxxx
Tel: 55 0XX 21 85964911


Attachment: signature.asc
Description: OpenPGP digital 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