1
1
I have just installed mysql in OS X and this code works fine:
String url = "jdbc:mysql://localhost:3306/";
String dbName = "information_schema";
String driver = "com.mysql.jdbc.Driver";
String userName = "";
String password = "";
Class.forName(driver).newInstance();
Connection conn = DriverManager.getConnection(url+dbName, userName, password);
Statement st = conn.createStatement();
ResultSet res = st.executeQuery("SELECT * from CHARACTER_SETS");
while(res.next()) {
System.out.println(res.getString("CHARACTER_SET_NAME"));
}
conn.close();
so I assume everything is fine. But in Activity Monitor I can not see the daemon process:
Why do not I see something like mysqld ?