Thanks for the response,
Ok, so I edited the my.cnf wilfe and there was already a
#bind-address = 127.0.0.1
,but there wasn't a #, so I added one before "bind"
I went to restart using
and it gave me this
student@student-desktop:~$ /etc/init.d/mysql restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop mysql ; start mysql. The restart(8) utility is also available.
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.72" (uid=1000 pid=10598 comm="stop mysql ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
I continued on with the rest of the codes, just incase they mean something.
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 localhost:mysql *:* LISTEN -
student@student-desktop:~$ ps aux | grep mysql | grep -v grep
mysql 7225 0.1 0.5 552100 44492 ? Ssl 10:16 0:03 /usr/sbin/mysqld