PHP55 Upgrade , PHPMyAdmin No Longer Works

Ryan Schmidt ryandesign at macports.org
Fri Aug 22 05:38:43 PDT 2014


On Aug 22, 2014, at 5:10 AM, Jasper Frumau <jasperfrumau at gmail.com> wrote:
> 
> Well inside config.inc.php I changed tcp to socket $cfg['Servers'][$i]['connect_type'] = 'socket'; et voila! Now I can access the site. Why does TCP not work? No idea? Why I still have Connection for controluser as defined in your configuration failed. no idea either. And then there is the issue with the databases I need moved from the old location. But this is great progress.

TCP networking is disabled by default, as the port's notes state:


$ port notes mysql55
mysql55 has the following notes:
  On activation if no /opt/local/etc/mysql55/my.cnf file exists one
  will be created which loads
  /opt/local/etc/mysql55/macports-default.cnf.
  
  If a /opt/local/etc/mysql55/my.cnf file exists MacPorts does not
  touch it and any changes you make to /opt/local/etc/mysql55/my.cnf
  will be preserved (e.g., during port upgrades, deactivations or
  activations). /opt/local/etc/mysql55/my.cnf is a good place to
  customize your mysql55 installation.
  
  Any changes made to /opt/local/etc/mysql55/macports-default.cnf
  will be lost during port upgrades, deactivations or activations so you
  are advised to not make changes here. Currently
  /opt/local/etc/mysql55/macports-default.cnf contains only one
  directive; to disable networking. With disabled networking it is
  possible to install and have running all the MacPorts mysql ports
  simultaneously.


You can enable networking in my.cnf if you want to connect to this server from another computer; otherwise you should leave it disabled as that's more secure.



More information about the macports-users mailing list