osx - Lost connection to MySQL server at 'reading initial communication packet', system error: 61 -
3 days on , have hit wall. i'm running mac os x. have installed mysql-5.5.14-osx10.6-x86_64.dmg.
as far context, need install mysql gem use ruby on rails , won't install unless there valid instance of mysql running.
i've tried using /library/startupitems/mysqlcom/mysqlcom [start|stop|restart] method start mysql server , comes no errors, when try connect localhost via mysql workbench, says:
"your connection attempt failed user 'root' host server @ localhost:3306: lost connection mysql server @ 'reading initial communication packet', system error: 61 ".
i have no path on system of /var/mysql, indicates bundled mysql non existant?
other solutions i've found indicate need comment out bind-address in my.cnf unable find such file on system.
i'm thinking maybe there conflicts between .dmg that's installed , manual builds i've attempted. also, have gut feeling in $path screwing things, thing don't understand (the $path thing). i'm thinking need uninstall 1 or other, no idea how uninstall when there's no evidence it's installed begin ??
here things may help:
i have /etc/my.cnf reads:
[mysqld] default-character-set=utf8 [client] default-character-set=uft8
but no /etc/mysql/my.cnf
- "ip: nodename nor servname provided, or not known" returned telnet ip 3306
- i have rebooted many times.
from sequel pro:
on server, configure mysql editing /etc/my.cnf , comment or remove skip-networking [mysqld] section. then, restart mysql server.
on mysql ver 14.14 distrib 5.1.67, line says
instead of skip-networking default listen on localhost more compatible , not less secure
so commenting out bind-address = 127.0.0.1
should work - did me.
Comments
Post a Comment