Problem w/ MySQL57 install

Bradley Giesbrecht pixilla at macports.org
Mon Jul 25 21:37:19 PDT 2016


> On Jul 25, 2016, at 8:02 PM, Bill Christensen <billc_lists at greenbuilder.com> wrote:
> 
> > On Jul 25, 2016, at 12:04 AM, Bill Christensen <billc_lists at greenbuilder.com> wrote:
> 
> >
> > When I load MySQL and try to connect I get
> >
> >      Can't connect to local MySQL server through socket '/opt/local/var/run/mysql57/mysqld.sock' (2)
> 
> On Mon, Jul 25, 2016 at 4:57 PM, Bradley Giesbrecht <pixilla at macports.org> wrote: 
> 
> If the mysql.sock file does not exist and mysql57 is running
> 
> Just to be clear:  I run 
> 
>      ps -ax | grep mysql
> 
> and get only 
> 
>      751 ttys016    0:00.01 grep mysql
> 
> which appears to me to indicate that mysql is NOT running.  Correct?   

Yes, mysql is not running.

You could try running mysqld directly to see if it gives any clues as to what the problem is:

sudo /opt/local/lib/mysql57/bin/mysqld --user=_mysql


Regards,
Bradley Giesbrecht (pixilla)




More information about the macports-users mailing list