View Single Post
  #7  
Old 26th March 2013, 17:08
roe74979 roe74979 is offline
Junior Member
 
Join Date: Mar 2013
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the response,

Ok, so I edited the my.cnf wilfe and there was already a

Code:
#bind-address           = 127.0.0.1
,but there wasn't a #, so I added one before "bind"

I went to restart using

Code:
/etc/init.d/mysql restart
and it gave me this

Code:
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.

Code:
(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      -
Code:
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

Last edited by roe74979; 26th March 2013 at 17:12.
Reply With Quote