Needs["DatabaseLink`"]

createConnection[]:=(conn=OpenSQLConnection[JDBC["mysql","mysql.tqft.net/fusionatlas"],"Username"->"fusionatlas","Password"->"fusion", "UseConnectionPool" -> True];)

getConnection[]:=(If[!MatchQ[conn,_SQLConnection]∨!JavaObjectQ[conn[[2]]]∨conn[[2]]@isClosed[],createConnection[]];conn)

getConnection[]

SQLExecute[getConnection[], 
"DROP TABLE graphs"]

(*SQLExecute[getConnection[], 
"DROP TABLE canonical"]*)

SQLExecute[getConnection[], 
"CREATE TABLE graphs (graph CHAR(255) UNIQUE NOT NULL, rank INT, depth INT, dimension FLOAT, obstruction CHAR(255))"]

(*SQLExecute[getConnection[], 
"CREATE TABLE canonical (graph CHAR(255) UNIQUE NOT NULL, canonicalForm CHAR(255))"]*)