Tuesday, August 5, 2008

EasyPHP - access phpMyAdmin and MySql from outside

33. How to have access to phpMyAdmin from my local network or Internet ?
  • In phpMyAdmin's configuration file (config.inc.php), set
    $cfgPmaAbsoluteUri = "http://$_SERVER[HTTP_HOST]:$_SERVER[SERVER_PORT]/mysql/";
  • Search for phpMyAdmin in Apache's configuration file. In Directory, add IP adresses of the computers you want to give the right to use phpMyAdmin. For example:
    Allow from 192.168.69.1


43. How to connect to MySql from the outside
Edit the configuration file from MySql and comment the following ligne:
bind-address=127.0.0.1


from: http://www.easyphp.org/faq.php

No comments: