我刚刚通过Homebrew在OS X Lion上安装了MySQL,并按照安装后的说明进行了操作。现在我需要创建一个数据库:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 22
Copyright (c) 2000, 2011,mysql> CREATE D
以下是我的数据库连接代码:con =DriverManager.getConnection("jdbc:mysql://com.mysql.jdbc.exception.jdbc4.MySQLSyntaxErrorException:
Access denied for user 'jenny' @ '%' to database'try