answersLogoWhite

0

How do you install MySQL in Linux?

Updated: 8/16/2019
User Avatar

Wiki User

15y ago

Best Answer

If you are using debian based distribution,

apt-get install mysql-server mysql-client

If it's something like fedora, Red Hat, CentOS you will have to install using the command "yum install package-name" command

User Avatar

Wiki User

8y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

I don't exactly know which Linux Distribution you are using.

If it's based on debian, you can simply use:

sudo apt-get install mysql

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you install MySQL in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where can you download LAMP package for Debian Linux?

LAMP is not a package , it is : Linux Apache Mysql PHPyou can intall them with :sudo apt-get install mysql-server mysql-client apache2 apache2-doc php5 php5-mysql libapache2-mod-php5


How do you install mysql data base in fedora 14?

yum install mysql yum install mysqlserver


Can you run PHP and MySQL on Linux?

Yes.


How do you add MySQL to your Web server?

Linux variant: depending on the distribution you use, there are (most certainly) prepared packages (e.g. Debian, Ubuntu) to install, if you use a more complicated distro like gentoo, you have to download and compile the source packages (check google for tutorials on that). Windows variant 1: you can employ a prepared WAMPP package (apache, mysql, php, pear/pecl) - find it here: www.apachefriends.org Windows variant 2: you can install all desired services manually (check google for tutorials on windows apache iis)


How do you start SQL on Linux?

That would depend on which SQL database you have installed. For MySQL, do '/etc/init.d/mysql start'


You have Linux server with PHP MySQL running on it can you shift entire setup on Windows since there are speed related issue on Linux server?

yes you can if you have the same php and mysql version on the windows machine just take a copy of the files and do a mysql db backup and move it. but if your haveing speed issues with Linux youll get worse on windows. yes you can if you have the same php and mysql version on the windows machine just take a copy of the files and do a mysql db backup and move it. but if your haveing speed issues with Linux youll get worse on windows.


How to solve what if your php installation appears to be missing the mysql extension which is required by wordpress?

Ideal thing to do would be to delete all your installation & install a single WAMP/LAMP server. It combines all the features necessary to run php including windows/linux, apache, mysql & php


What are two DBMS products that run under the Linux operating system?

MySQL and SQLite these two DB are compatible with linux environment.


Can you use MySQL on a Mac?

Yes. You can install a MySQL instance using homebrew or other installer packages


Is MySQL open source?

Yes, MySQL is open source and is free to download and install. You can use the MySQL Installer to install and configure MySQL server on Windows operating system. It provides a simplified installation and configuration process for MySQL products running on Microsoft Windows. The list of MySQL products includes the following items: MySQL Server MySQL Workbench MySQL Router MySQL Shell MySQL for Visual Studio MySQL Reference Manuals PDF MySQL connectors (MySQL/Python connector, MySQL/NET connector, etc.) MySQL database examples. To get started with MySQL database easily, you can use the comprehensive solution provided by dbForge Studio for MySQL, which allows you to efficiently process data and automate the management of your database objects.


What is the source code for the sql server in Linux?

There are several SQL servers available for Linux. You can get the source code for MySQL and PostgreSQL from their respective websites.


Does MySQL run on both Unix and Windows?

Yes. There are versions of MySQL for most Unix products, including Mac OS X, as well as Linux and Windows.