LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-20-2009, 12:01 PM   #1
Rami_Rouchdi
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
installing MySQL on Ubuntu


hi all
it's my first time to deal with Linux. everybody told me Ubuntu is the easiest to start with. but now I need to install MySQL 5. I got confused what to download from the MySQL website that would be best suitable for Ubuntu 9.04 operating system. Finally i decided to download " MySQL for Linux x86 generic RPM (dynamically linked)". [Actually i do not know what the difference between all these compilations]. in found the link below to guide me through the installation steps:

http://rpbouman.blogspot.com/2006/01...ubuntu_07.html

i went through all the steps. but when I try to run the command mysql start. i get the error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Would anybody tell me if i installed the right compilation for my Ubuntu operating system and if there is any document for the installation procedure of MySQL on Ubuntu.
 
Old 07-20-2009, 12:18 PM   #2
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Rep: Reputation: 15
It is better to get Mysql from synaptic package manager ( System >Administration >Synaptic Package Manager)
and search up MySQL 5.1 and click on it and get the client. Next go to Applications and click on Add/Remove and search up mysql and get the Mysql Admin and install it. next go to mysql admin and connect to the server.
 
Old 07-21-2009, 10:09 AM   #3
Rami_Rouchdi
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
thanks uiuiui172 so much for ur advise. it was really helpful and i could install MySQL on Ubuntu. but my problem now is that i login as administrator to MySQL Administrator. i am trying to create new user accounts. but once i try to select the link user administration, it shows an error message "could not retrieve user privilege information".

can u guide me waht is the reason, and how to solve it.
 
Old 07-21-2009, 10:35 PM   #4
uiuiui172
Member
 
Registered: Jul 2009
Posts: 65

Rep: Reputation: 15
That I don't know. I am pretty new to linux myself. Try googling it, that most of the time works but you'll have to visit a ton of places.
 
Old 07-22-2009, 12:43 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,267

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Is MySQL running?

Open an xterm and type

ps -ef|grep mysql
 
  


Reply

Tags
installing, mysql, ubuntu


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing Nginx With PHP5 And MySQL Support On Ubuntu 9.04 LXer Syndicated Linux News 0 07-13-2009 07:50 AM
Installing and Configuring MySQL, Apache, and PHP on (Ubuntu) Linux gagne.marc Linux - Software 4 02-21-2009 03:23 PM
LXer: Installing PowerDNS (With MySQL Backend) And Poweradmin On Ubuntu 8.10 LXer Syndicated Linux News 0 01-30-2009 09:50 AM
LXer: Installing Nginx With PHP5 And MySQL Support On Ubuntu 8.10 LXer Syndicated Linux News 0 01-11-2009 02:00 PM
LXer: Installing Cherokee Web Server With PHP 5 & MySQL 5 Support On Ubuntu 8.10 LXer Syndicated Linux News 0 12-01-2008 10:20 AM


All times are GMT -5. The time now is 03:23 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