how to setup mysql for linux

View previous topic View next topic Go down

how to setup mysql for linux

Post by jamied_uk on 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
avatar
jamied_uk
Admin

Posts : 2184
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: how to setup mysql for linux

Post by jamied_uk on 17th March 2011, 19:01

http://www.mysql-apache-php.com/
avatar
jamied_uk
Admin

Posts : 2184
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: how to setup mysql for linux

Post by jamied_uk on 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/
avatar
jamied_uk
Admin

Posts : 2184
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: how to setup mysql for linux

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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