diff --git a/library/SimplePie/Cache/MySQL.php b/library/SimplePie/Cache/MySQL.php
index <HASH>..<HASH> 100644
--- a/library/SimplePie/Cache/MySQL.php
+++ b/library/SimplePie/Cache/MySQL.php
@@ -96,7 +96,22 @@ class SimplePie_Cache_MySQL extends SimplePie_Cache_DB
 				'prefix' => '',
 			),
 		);
-		$this->options = array_merge($this->options, SimplePie_Cache::parse_URL($location));
+        $parsed = SimplePie_Cache::parse_URL($location);
+
+        foreach( $parsed as $key => $value )
+        {
+            if( is_array($value) )
+            {
+                foreach( $value as $array_key => $array_value )
+                {
+                    $this->options[$key][$array_key] = $array_value;
+                }
+            }
+            else
+            {
+                $this->options[$key] = $value;
+            }            
+        }
 
 		// Path is prefixed with a "/"
 		$this->options['dbname'] = substr($this->options['path'], 1);
Fixed URI Parse Merge with Options in MySQL Class (currently inside constructor)