LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
LinkBack Search this Thread
Old 12-25-2012, 01:00 PM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Rep: Reputation: Disabled
starting mysql


How do I start mysql? I am running Linux mint kde 13.
 
Old 12-25-2012, 01:16 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,778

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Quote:
Originally Posted by bscho View Post
How do I start mysql? I am running Linux mint kde 13.
A brief Google search points to several solutions...the Linux Mint forums also contain some. Try typing "start mysql" at the command line, or "sudo service mysql start".
 
Old 12-25-2012, 01:46 PM   #3
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
Anyone who uses Mint kde 13

Quote:
Originally Posted by TB0ne View Post
A brief Google search points to several solutions...the Linux Mint forums also contain some. Try typing "start mysql" at the command line, or "sudo service mysql start".
Thanks I was expecting a reply from someone who knows the answer.
 
Old 12-25-2012, 02:34 PM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Kubuntu
Posts: 1,189

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Please specify:
1. Do you want to start client or server?
2. Do you have installed this client or server? If not - install.
3. Did you tried these commands TB0ne provided? Its for starting server. For client you just type "mysql -h localhost -u username -p".
 
1 members found this post helpful.
Old 12-25-2012, 02:59 PM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,778

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Quote:
Originally Posted by bscho View Post
Thanks I was expecting a reply from someone who knows the answer.
Either should work, and there is absolutely no need for you to be nasty towards someone who is trying to help you.

Next time, look it up yourself.

Last edited by TB0ne; 12-25-2012 at 03:30 PM.
 
Old 12-25-2012, 03:19 PM   #6
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,137

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
I have Linux Mint 13 KDE installed on a partition and the lamp server is not installed by default so how exactly did you install? I just installed it with: sudo apt-get install lamp-server^

I was prompted for a mysql root user password during the installation and afterward I used the command:

Quote:
sudo service mysql start
which showed mysql already running. I was able to log in to mysql with the root password I set up earlier. This probably took 15 minutes!
More information on exactly how you installed and tried to get it running would be helpful. I would also concur that being rude/demanding from volunteers here at LQ isn't going to help you get a positive response.

Last edited by yancek; 12-26-2012 at 11:16 AM.
 
1 members found this post helpful.
Old 12-25-2012, 08:52 PM   #7
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 6,884

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It's been a while since I had to configure it, but I think the preferred method is to use mysqld-safe to start the daemon.

http://docs.oracle.com/cd/E17952_01/...sqld-safe.html

Last edited by frankbell; 12-25-2012 at 08:56 PM.
 
Old 12-26-2012, 12:48 PM   #8
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
mysql starting

I use Suse12.2 where the command can use mysqld_safe

It does not work however, not with Linux mint 13.

I found there is no mysql on the disk load. When you look
for it and try to install it, it loads from ubuntu servers
and there are a great number of missing packages and errors.

Thanks for your help, your reply was most helpfull
 
Old 12-26-2012, 12:57 PM   #9
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
helpfull advice

Quote:
Originally Posted by TB0ne View Post
Either should work, and there is absolutely no need for you to be nasty towards someone who is trying to help you.

Next time, look it up yourself.
The quote to look it up for yourself on a rival search engine was in affect an add for Google. It was meant to get others to reply to my message as others would think I had the answer.

This billboard is the best medium for Linux questions not Google.
 
Old 12-27-2012, 10:30 AM   #10
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,137

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Quote:
I found there is no mysql on the disk load.
Not sure what you mean by "disk load"?

Quote:
When you look for it and try to install it, it loads from ubuntu servers
When you look for what? mysql? The mysql and other components of a lamp server for Mint will be downloaded from the ubuntu repositories, correct.

What are your intentions? Do you want a lamp server? Do you just want to install mysql? What steps have you taken to install mysql? Have you installed it and just can't start it? The command posted above "sudo service mysql start" by TB0ne will start, stop or restart on Mint.
 
Old 12-27-2012, 12:56 PM   #11
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
No Mysql

Quote:
Originally Posted by yancek View Post
Not sure what you mean by "disk load"?

the disk from Linux format magazine.

When you look for what? mysql? Yes

The mysql and other components of a lamp server for Mint will be downloaded from the ubuntu repositories, correct.

Yes but there are file errors once you try to start the application.

What are your intentions?

Do you want a lamp server? Yes

Do you just want to install mysql? No

What steps have you taken to install mysql? connected to the ubuntu servers

Have you installed it and just can't start it? No it will not install properly

The command posted above "sudo service mysql start" by TB0ne will start, stop or restart on Mint.
The problem is it will not install, so I need to first install it.

Thank you for your reply. Do you run mint? Maybe there is a newer version than 13?
 
Old 12-27-2012, 01:54 PM   #12
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,137

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
I don't use Mint regularly but I do have it installed on a partition on my machine. When I saw your post two days ago, I installed lamp with the command I posted in my initial post (#6) above which is this:

Quote:
sudo apt-get install lamp-server^
As I said, it took about 15 minutes to install. You are given some information and asked if you want to continue with the install, type in Y for yes and the only other thing you need to do is set up a password for the root user for mysql. This is not the same as the root user for your operating system. The programs come from the Ubuntu repositories as nearly as I can recall.

I installed this on Linux Mint 13 with KDE. No problems. Mint 13 has support for 5 years which is longer than most other version which is a good reason to stick with it. There is a Mint 14 but I seriously doubt that would make any difference.

The command above is absolutely the simplest way I know to install a lamp server on Mint. Copy/paste it in a terminal and try. If you get warnings/error messages, post the exact problems. If this is a new install of Mint 13, you may find it takes less time to reinstall Mint and then use the command to install a lamp server.

You haven't given much detail on the errors you get. There are a number of sites which give info on installing a lamp server such as the one below. It say for Ubuntu but Mint is derived from Ubuntu so it works:
 
1 members found this post helpful.
Old 12-28-2012, 02:04 PM   #13
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
Will the command work for live distro?

[QUOTE=yancek;4857909]I don't use Mint regularly but I do have it installed on a partition on my machine. When I saw your post two days ago, I installed lamp with the command I posted in my initial post (#6) above which is this:



As I said, it took about 15 minutes to install. You are given some information and asked if you want to continue with the install, type in Y for yes and the only other thing you need to do is set up a password for the root user for mysql. This is not the same as the root user for your operating system. The programs come from the Ubuntu repositories as nearly as I can recall.

I installed this on Linux Mint 13 with KDE. No problems. Mint 13 has support for 5 years which is longer than most other version which is a good reason to stick with it. There is a Mint 14 but I seriously doubt that would make any difference.

The command above is absolutely the simplest way I know to install a lamp server on Mint. Copy/paste it in a terminal and try. If you get warnings/error messages, post the exact problems. If this is a new install of Mint 13, you may find it takes less time to reinstall Mint and then use the command to install a lamp server.


This looks great will it work with the live distro? I don't want to change unless it works. Thanks for your reply. (I'am running Suse 12.2 is there a command like that for 12.2?
 
Old 12-28-2012, 07:42 PM   #14
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,137

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Quote:
This looks great will it work with the live distro?
No. A live distro is a read-only filesystem and any changes you make while booted to it will be gone when you reboot.

Quote:
I'am running Suse 12.2 is there a command like that for 12.2?
Don't know of any. When I used Suse Linux, I usually installed software with Yast which you should be able to find in the Menu, the Suse icon in the lower left. I believe zypper can also be used but I haven't used Suse for a few years.

Last edited by yancek; 12-28-2012 at 07:43 PM.
 
Old 12-29-2012, 09:42 AM   #15
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Suse, Mint
Posts: 87

Original Poster
Rep: Reputation: Disabled
info PhP

Quote:
Originally Posted by yancek View Post
No. A live distro is a read-only filesystem and any changes you make while booted to it will be gone when you reboot.



Don't know of any. When I used Suse Linux, I usually installed software with Yast which you should be able to find in the Menu, the Suse icon in the lower left. I believe zypper can also be used but I haven't used Suse for a few years.
Thanks for your reply. I have loaded the php and apache several times it does not work.

The book says info.php should be loaded. I have downloaded it to DocumentRoot still no
joy. I feel I am doing something wrong somewhere.

I want to use mint as it looks better than Suse, only I might loose some data.

Again, I thank you for your help.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql not starting after changing mysql admin password in fedora prastal Linux - Newbie 1 02-20-2010 07:26 PM
Problem Starting MySQL on Fresh Fedora 8 Install w/ Yum'd MySQL blong4life Linux - Server 2 07-04-2008 07:44 PM
How to overcome the RPM "mysql-5.0.27-1.fc6" conflict with mysql database starting kamakshiganesh Linux - General 0 10-22-2007 07:07 AM
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 06:23 AM
Starting up MySQL bwreath Linux - Software 2 01-20-2004 03:20 PM


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