diff --git a/gossamer_forums.rb b/gossamer_forums.rb index c01ea0d..7506250 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -44,9 +44,9 @@ class GossamerForumsImporter < ImportScripts::Base # Initialize MySQL client to connect to Gossamer Forums database @mysql_client = Mysql2::Client.new( - host: "slowtwitch.northend.network", + host: "172.99.0.10", username: "admin", - password: "yxnh93Ybbz2Nm8#mp28zCVv", + password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu", database: "slowtwitch" ) rescue Mysql2::Error => e @@ -1132,10 +1132,14 @@ class GossamerForumsImporter < ImportScripts::Base # Define the connection pool inside the method ###### mariadb_pool = ConnectionPool.new(size: 14, timeout: 100) do mariadb_pool = ConnectionPool.new(size: 40, timeout: 100) do +# host: "slowtwitch.northend.network", +# username: "admin", +# password: "yxnh93Ybbz2Nm8#mp28zCVv", +# database: "slowtwitch" Mysql2::Client.new( - host: "slowtwitch.northend.network", + host: "172.99.0.10", username: "admin", - password: "yxnh93Ybbz2Nm8#mp28zCVv", + password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu", database: "slowtwitch" ) end