LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (http://www.linuxquestions.org/questions/linux-mint-84/)
-   -   starting mysql (http://www.linuxquestions.org/questions/linux-mint-84/starting-mysql-4175442909/)

bscho 12-25-2012 01:00 PM

starting mysql
 
How do I start mysql? I am running Linux mint kde 13.

TB0ne 12-25-2012 01:16 PM

Quote:

Originally Posted by bscho (Post 4856649)
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".

bscho 12-25-2012 01:46 PM

Anyone who uses Mint kde 13
 
Quote:

Originally Posted by TB0ne (Post 4856655)
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.

eSelix 12-25-2012 02:34 PM

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".

TB0ne 12-25-2012 02:59 PM

Quote:

Originally Posted by bscho (Post 4856660)
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.

yancek 12-25-2012 03:19 PM

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.

frankbell 12-25-2012 08:52 PM

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

bscho 12-26-2012 12:48 PM

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

bscho 12-26-2012 12:57 PM

helpfull advice
 
Quote:

Originally Posted by TB0ne (Post 4856677)
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.

yancek 12-27-2012 10:30 AM

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.

bscho 12-27-2012 12:56 PM

No Mysql
 
Quote:

Originally Posted by yancek (Post 4857774)
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?

yancek 12-27-2012 01:54 PM

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:

bscho 12-28-2012 02:04 PM

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?

yancek 12-28-2012 07:42 PM

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.

bscho 12-29-2012 09:42 AM

info PhP
 
Quote:

Originally Posted by yancek (Post 4858782)
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.


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