<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036222" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036222</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/connect-remote-database#comment-1209526</link>
    <description> &lt;p&gt;Many hosting providers do not let their MySQL servers accept traffic from outside the firewall.  There have been authentication bypass vulnerabilities in the past and it is just good practice to protect the database server from the outside world.  However, if your hosting provider allows SSH access then you can use it to connect from your computer directly to the MySQL server through SSH port forwarding.  That is, you use SSH to securely connect behind the firewall (think VPN).&lt;/p&gt;
&lt;p&gt;If your provider is concerned about password security and SSH then they may permit you to use public key authentication.  Do a little homework as to the options and then ask your hosting provider.  Many  will make reasonable accommodations to customers with particular needs.&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Oct 2006 16:58:54 +0000</pubDate>
 <dc:creator>FrankR</dc:creator>
 <guid isPermaLink="false">comment 1209526 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/connect-remote-database#comment-1208761</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;teammatt3;208724 wrote:&lt;/strong&gt; Would I have to talk to my host to make sure MySQL is listening for incoming TCP connections?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Looks like you will have to ask them.  There&#039;s a good chance they will refuse as it&#039;s shared, though.&lt;/p&gt;
&lt;p&gt;Normally you would get a virtual dedicated server or similar with root access (which I assumed) to run your own services like MySQL and Apache, if you want to modify main configuration options.&lt;/p&gt;
&lt;p&gt;Check with your host anyway.&lt;/p&gt;
 </description>
     <pubDate>Mon, 16 Oct 2006 01:30:34 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1208761 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/connect-remote-database#comment-1208724</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: It&#039;s pretty much the same as connecting to localhost, as long as the MySQL server is listening for incoming TCP connections on port 3306 (or whatever) not only localhost. In your my.cnf file, make sure skip-networking and bind-address are commented out.
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Would I have to talk to my host to make sure MySQL is listening for incoming TCP connections? Or is that something I can do (I&#039;m on shared hosting)? I looked in my account under /etc and saw no file called my.cnf, am I supposed to make it? Or is it located on the server somewhere where I can&#039;t get to it (once again, I&#039;m on a shared hosting account.)&lt;/p&gt;
&lt;p&gt;I did create a host.allow and deny file without a problem, but I can&#039;t test it if it works :S&lt;/p&gt;
 </description>
     <pubDate>Sun, 15 Oct 2006 17:09:12 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1208724 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/connect-remote-database#comment-1208634</link>
    <description> &lt;p&gt;Yes, you would use example2.com instead of localhost.&lt;/p&gt;
&lt;p&gt;It&#039;s pretty much the same as connecting to localhost, as long as the MySQL server is listening for incoming TCP connections on port 3306 (or whatever) not only localhost.  In your my.cnf file, make sure skip-networking and bind-address are commented out.&lt;/p&gt;
&lt;p&gt;You&#039;ll also want to make sure &lt;a href=&quot;mailto:youruser@example.com&quot; class=&quot;bb-email&quot;&gt;youruser@example.com&lt;/a&gt; is granted sufficient privileges on the database, not just youruser@localhost.&lt;/p&gt;
&lt;p&gt;It&#039;s a good idea to specifically grant access and permit connections only from known remote hosts.  Grant privileges to &lt;a href=&quot;mailto:youruser@example.com&quot; class=&quot;bb-email&quot;&gt;youruser@example.com&lt;/a&gt; or youruser@&lt;em&gt;IP&lt;/em&gt; and not youruser@%.  Use /etc/hosts.deny  and /etc/hosts.allow, or a firewall, to refuse mysql service connections from unknown hosts.&lt;/p&gt;
&lt;p&gt;Comments in the &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.1/en/connecting.html&quot; class=&quot;bb-url&quot;&gt;documentation&lt;/a&gt; are helpful if you have problems.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 14 Oct 2006 06:46:56 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1208634 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
