I just upgraded my comp to the beta Yosemite and now my MySQL is giving me a connection problem. 

I used to be able to run this command in terminal and get results:

```
/usr/local/mysql/bin/mysql -uroot -e "SELECT * FROM table_name"

```

But now it returns this:

```
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

```

I'm not sure how I even set this connection up in the first place so please any answers, pretend I'm not too savvy with this... Thanks in advance!!