Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > fe301555bd4f32d193432e840fbe0797 > files > 1

ruby-activerecord-1.15.3-1mdv2008.0.src.rpm

--- activerecord-1.14.3/lib/active_record/connection_adapters/mysql_adapter.rb.sock	2006-07-28 15:02:37.000000000 +0200
+++ activerecord-1.14.3/lib/active_record/connection_adapters/mysql_adapter.rb	2006-07-28 15:08:05.000000000 +0200
@@ -54,7 +54,7 @@
     #
     # * <tt>:host</tt> -- Defaults to localhost
     # * <tt>:port</tt> -- Defaults to 3306
-    # * <tt>:socket</tt> -- Defaults to /tmp/mysql.sock
+    # * <tt>:socket</tt> -- Defaults to /var/lib/mysql/mysql.sock
     # * <tt>:username</tt> -- Defaults to root
     # * <tt>:password</tt> -- Defaults to nothing
     # * <tt>:database</tt> -- The name of the database. No default, must be provided.
--- activerecord-1.14.3/lib/active_record/vendor/mysql.rb.sock	2006-07-28 15:02:37.000000000 +0200
+++ activerecord-1.14.3/lib/active_record/vendor/mysql.rb	2006-07-28 15:07:46.000000000 +0200
@@ -14,7 +14,7 @@
   MAX_PACKET_LENGTH = 256*256*256-1
   MAX_ALLOWED_PACKET = 1024*1024*1024
 
-  MYSQL_UNIX_ADDR = "/tmp/mysql.sock"
+  MYSQL_UNIX_ADDR = "/var/lib/mysql/mysql.sock"
   MYSQL_PORT = 3306
   PROTOCOL_VERSION = 10