“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...) |
小 |
||
第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的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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