X-Git-Url: http://git.phpeclipse.com diff --git a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/adapters/MySQLAdapter.java b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/adapters/MySQLAdapter.java index d764095..e4e1ad3 100644 --- a/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/adapters/MySQLAdapter.java +++ b/archive/net.sourceforge.phpeclipse.quantum.sql/src/com/quantum/adapters/MySQLAdapter.java @@ -1,9 +1,22 @@ package com.quantum.adapters; +import java.util.HashMap; +import java.util.Map; -public class MySQLAdapter extends DatabaseAdapter { - public String getShowTableQuery(String qualifier, boolean isDefault) { - return "SHOW TABLES"; //$NON-NLS-1$ - } + +public class MySQLAdapter extends GenericAdapter { + + /** + * @param type + */ + protected MySQLAdapter() { + super(AdapterFactory.MYSQL); + } + public Map getDefaultConnectionParameters() { + Map map = new HashMap(); + map.put("port", "3306"); + map.put("hostname", "localhost"); + return map; + } } \ No newline at end of file