When I try to access mysql I get this:
$ sudo mysql -h localhost -u webmaster
[sudo] password for webmaster:
/usr/local/bin/mysql: 1: /usr/local/bin/mysql: Syntax error: "(" unexpected
I used the tutorial on Ubuntu to set it up. How can I fix this?
/usr/local/bin/mysql- which actually makes me think BOTH are true - you're following a wrong tutorial and you made a mistake :) Why is your mysql in/usr/local? Are you compiling from source? Why? To install mysql, all you need issudo apt-get install mysql– Sergey Dec 22 '12 at 20:16