LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2012, 08:22 AM   #1
raystar
LQ Newbie
 
Registered: Jan 2012
Location: mombasa, Kenya
Distribution: ubuntu lucid
Posts: 3

Rep: Reputation: Disabled
Question cant start mysql


usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
this is the path of mysql in my system.i cant get mysql to run.i need help.
i have run this command, and the response follows

ray@ray-laptop:~$ sudo aptitude install mysql
[sudo] password for ray:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
Couldn't find package "mysql", and more than 40
packages contain "mysql" in their name.
The following packages will be REMOVED:
linux-headers-2.6.32-21{u} linux-headers-2.6.32-21-generic{u}
0 packages upgraded, 0 newly installed, 2 to remove and 236 not upgraded.
Need to get 0B of archives. After unpacking 85.2MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 217280 files and directories currently installed.)
Removing linux-headers-2.6.32-21-generic ...
Removing linux-headers-2.6.32-21 ...
Reading package lists... Done
Building dependency tree
Reading state information... Done.
 
Old 01-05-2012, 08:43 AM   #2
thesnow
Member
 
Registered: Nov 2010
Location: Minneapolis, MN
Distribution: Ubuntu, Red Hat, Mint
Posts: 170

Rep: Reputation: 56
Try using "mysql-server" in your aptitude command. This should get it installed, ask you to set a DB password, etc. and I believe in Ubuntu it will set the mysqld process to run at start up. Then you should be able to connect using the mysql program (or another one of your choice).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
After moving mysql db to NFS[netapp] unable to start mysql server throws error naveenrajn Linux - General 3 09-13-2010 03:20 AM
Problem changing mysql uid,gid: mysql start fails gjatute Linux - Newbie 7 02-25-2010 02:38 AM
MySQL won't start, and no /etc/init.d/mysql--my stdout and syslog after trying... ineloquucius Linux - Server 8 01-31-2010 12:24 PM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 01:04 PM
MySQL - Timeout error occurred trying to start MySQL Daemon. stuartornum Linux - Software 3 02-26-2006 01:54 PM


All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration