特殊:Badtitle/NS100:MythTV/Install/Server/mysql:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
 
第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的最新版本

{{#ifexist: :MythTV/Install/Server/mysql/zh | | {{#ifexist: MythTV/Install/Server/mysql/zh | | {{#ifeq: {{#titleparts:MythTV/Install/Server/mysql|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MythTV/Install/Server/mysql|1|-1|}} | zh | | }}

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