个人工具

“UbuntuHelp:MythTV/Install/Server/mysql”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第8行: 第8行:
 
<pre><nowiki>
 
<pre><nowiki>
 
bind-address= 127.0.0.1
 
bind-address= 127.0.0.1
</nowiki></pre>
+
  </nowiki></pre>
 
and comment out that line by placing a ~+<code><nowiki>#</nowiki></code>+~ at the beginning.
 
and comment out that line by placing a ~+<code><nowiki>#</nowiki></code>+~ at the beginning.
 
Then, restart mysql:
 
Then, restart mysql:

2007年12月6日 (四) 10:46的最新版本

Next, you need to edit the mysql configuration to allow outside hosts to connect:

$ sudo nano /etc/mysql/my.cnf

Look for the line that reads:

bind-address= 127.0.0.1
   

and comment out that line by placing a ~+#+~ at the beginning. Then, restart mysql:

$ sudo /etc/init.d/mysql restart