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

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/MythTV/Install/Server/mysql}} {{Languages|UbuntuHelp:MythTV/Install/Server/mysql}} Next, you need to edit the mysql configuration to allow outside...
 
Wikibot留言 | 贡献
无编辑摘要
第5行: 第5行:
$ sudo nano /etc/mysql/my.cnf
$ sudo nano /etc/mysql/my.cnf
</nowiki></pre>
</nowiki></pre>
Look for the line that reads:
Look for the line that reads:
<pre><nowiki>
<pre><nowiki>
第11行: 第10行:
</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:
<pre><nowiki>
<pre><nowiki>

2007年11月30日 (五) 20:41的版本

{{#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