Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an experience of setting up and running MySQL on Windows. It is really easy. I just downloaded .zip, unpacked it in C:\MySQL, placed C:\MySQL\bin to PATH and then ran the server with the command:

C:\> mysqld --console

All the databases were stored in C:\MySQL\data folder.

And I want to do the same on Xubuntu 13.04 (but kubuntu-desktop). But I don't understand how. Linux version of MySQL is different.

Here are my steps:

I downloaded MySQL Community Server from http://dev.mysql.com/downloads/mysql/. So I got this file: MySQL-5.7.1_m11-4.linux_glibc2.5.i386.rpm-bundle.tar

Then I unpacked it to /opt/mysql.

And instead of /bin directory I got 7 files there. And I don't know what to do with them now:

path: /opt/MySQL-5.7.1_m11-4.linux_glibc2.5.i386.rpm-bundle/


I suspect that MySQL-server-5.7.1_m11-4.linux_glibc2.5.i386.rpm is the MySQL DB server as I ran on Windows. But how to install it? How to run it? I don't want MySQL server to start automaticly on system boot. I want to start it manually as I did on Windows.

What do I need to do to install MySQL the same way I used it on Windows?

share|improve this question

1 Answer 1

You need to download the .deb file, and not .rpm. Download your desired architecture, either 32bit or 64bit. Once done, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to the download folder (probably the Downloads Folder), and run the command(s) below:

sudo dpkg -i <package_name>.deb
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.