Editing Talk:Shared webhosting

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
== Sharing mysql socket ==
 
Wouldn't it be easier to just link the directory containing the socket using 'mount --bind'? Don't think that inode will change. [[Special:Contributions/62.195.200.207|62.195.200.207]] 16:39, 15 July 2011 (UTC)
 
 
 
== Linking to howto pages ==
 
== Linking to howto pages ==
 
I probably did something stupid, but how can I link from the HOWTO's to this page?
 
I probably did something stupid, but how can I link from the HOWTO's to this page?
Line 28: Line 25:
  
 
== MySQL Socket Sharing ==
 
== MySQL Socket Sharing ==
 
2011-11-15 I had this issue using mysql :
 
<pre>
 
Could not connect to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
 
111115 22:05:40 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address
 
111115 22:05:40 [ERROR] Do you already have another mysqld server running on port: 3306 ?
 
</pre>
 
changing bind-address in /etc/mysql/my.cnf from
 
bind-address          = 127.0.0.1
 
to 
 
  bind-address            = 10.100.100.220
 
fixed it for us.  using ubuntu 11.10
 
 
:i had the same error message. my mistake was that i had no loopback-interface configured. adding
 
auto lo
 
iface lo inet loopback
 
:to /etc/network/interfaces and restarting networking fixed it for me. (debian)
 
------------
 
  
 
There's a good guide, using "mount --bind" available at http://sudhaker.com/2008/04/isolated-mysql-installation-openvz-cluster/, but I couldn't get it to work.
 
There's a good guide, using "mount --bind" available at http://sudhaker.com/2008/04/isolated-mysql-installation-openvz-cluster/, but I couldn't get it to work.

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)