个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{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...)
 
 
(未显示同一用户的1个中间版本)
第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>
 
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:
 
<pre><nowiki>
 
<pre><nowiki>

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