Thanks a lot for the reply! What I did in the end was: Changed to $cfg['Servers'][$i]['connect_type'] = 'socket'; instead of tcp I can access the phpmyadmin control panel. TCP is not working with the current settings. Will look into making that possible too, but works like this now. To move databases from the old location to the new one I used sudo cp -R /opt/local/var/db/mysql5/datasbase /opt/local/var/db/mysql55/database
All working now. On Fri, Aug 22, 2014 at 3:38 PM, Ryan Schmidt <[email protected]> wrote: > > On Aug 22, 2014, at 5:10 AM, Jasper Frumau <[email protected]> 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. > > -- *Jasper Frumau @ Imagewize Ltd* web design | web development | branding w: imagewize. <http://www.imagewize.net/>com email: jasper@imagewize. <[email protected]>com t: +66806044547 skype: frumau
_______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
