PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

how to setup mysql for linux

Go down

how to setup mysql for linux Empty how to setup mysql for linux

Post by jamied_uk 17th March 2011, 17:40

these two commands are seperate.
to install these type in console

Code:
sudo apt-get autoremove


Code:
sudo apt-get install -y php5-common php5 libapache2-mod-php5


Code:
sudo apt-get install -y mysql-server mysql-client

Now for phpmyadmin

Code:
sudo apt-get install -y phpmyadmin


Last edited by jamied_uk on 25th April 2016, 11:30; edited 5 times in total
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

how to setup mysql for linux Empty Re: how to setup mysql for linux

Post by jamied_uk 17th March 2011, 19:01

jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

how to setup mysql for linux Empty Re: how to setup mysql for linux

Post by jamied_uk 18th March 2011, 12:07

*EOC = End Of Code Do Not Include In Config Files
~~~~~~~~~~~~~~~~~~~

To make sure phpmyadmin works
PhpMyAdmin Installation

PhpMyAdmin is a nice web based database management and administration software and easy to install and configure under apache. Managing databases with tables couldnt be much simpler by using phpmyadmin.

All you need to do is:

apt-get install phpmyadmin

The phpmyadmin configuration file is located at: /etc/phpmyadmin folder.

To setup under apache all you need to do is include the following line in /etc/apache2/apache2.conf

Include /etc/phpmyadmin/apache.conf



*EOC
to restart after changing options use this command
sudo /etc/init.d/apache2 restart

to login to phpmyadmin use following link

http://localhost/phpmyadmin/
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

how to setup mysql for linux Empty Re: how to setup mysql for linux

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum