LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices

Reply
 
Search this Thread
Old 02-13-2006, 03:01 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 75,852

Rep: Reputation: 87
LXer: Basic setup of MySQL in GNU/Linux


Published at LXer:

A concise article explaining the basic setup of MySQL in GNU/Linux

Read More...
 
Old 02-14-2006, 01:17 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,565

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
nice artical, but im stuck:

Quote:
I first downloaded and installed the following packages : mysql-server, mysql-client, mysql-admin. The latter package is a GUI front-end for easy administration of the database.

Next I opened up a terminal and executed the following command:

$ sudo mysql
Password : *****
mysql>_
well when i type in sudo mysql i get the following error:

Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysq1.sock' (2)
i am running CentOS 4.2 and just did the yum install of the 3 sql packages listed in this artical. everything installed without a hitch, so said yum.
 
Old 02-14-2006, 02:42 AM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
You have to start the server first...
I have not read the article, but there was probably an init script included to do this...
 
Old 02-16-2006, 10:35 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,565

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
ok thanks. looks like i still have hours of reading before im ready to tackle a SQL database or any for that matter.
 
Old 02-16-2006, 01:14 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
You don't need hours of reading, you just need to start the server
If the server isn't running then it cannot accept connections, right...

I had a look at the article, and the author neglects to mention this.
Try from the CLI:
Code:
# mysqld_safe &
as root. That should get the server running.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Jump to Debian GNU/Linux! LXer Syndicated Linux News 0 01-26-2006 12:31 PM
LXer: GNU/Linux: An Amazing Story LXer Syndicated Linux News 0 01-13-2006 02:46 PM
LXer: Are You Replacing Windows with GNU/Linux? LXer Syndicated Linux News 0 01-01-2006 05:16 PM
LXer: The iAudio U3 and GNU/Linux LXer Syndicated Linux News 0 12-29-2005 11:31 AM
LXer: Debunking common GNU/Linux myths LXer Syndicated Linux News 0 12-19-2005 04:46 PM


All times are GMT -5. The time now is 07:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration