Try granting all privileges to your user from any machine in mysql:
grant all on db_name.* to ‘vincent’@'%';
where db_name is your database name …
More Related Contents:
- Connect Java to a MySQL database
- com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
- Solving a “communications link failure” with JDBC and MySQL [duplicate]
- MySQLSyntaxErrorException near “?” when trying to execute PreparedStatement
- Java: Insert multiple rows into MySQL with PreparedStatement
- Can we connect remote MySQL database in Android using JDBC? [closed]
- java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) [closed]
- Cannot issue data manipulation statements with executeQuery()
- Handling MySQL datetimes and timestamps in Java
- java.sql.SQLException: Access denied for user ‘root’@’localhost’ (using password: YES)
- JDBC MySql connection pooling practices to avoid exhausted connection pool
- Getting java.sql.SQLException: Operation not allowed after ResultSet closed
- right syntax to use near ‘?’
- Running a .sql script using MySQL with JDBC
- Passing parameters to a JDBC PreparedStatement
- JDBC character encoding
- runtime error: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
- JDBC returning MySQLSyntaxError Exception with correct statement
- ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timestamp error
- Problems reading/writing UTF-8 data in MySQL from Java using JDBC connector 5.1
- MySQL connector error “The server time zone value Central European Time” [duplicate]
- com.mysql.jdbc.PacketTooBigException
- com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server [duplicate]
- Should a database connection stay open all the time or only be opened when needed?
- Converting mysql table to spark dataset is very slow compared to same from csv file
- A datetime equivalent in java.sql ? (is there a java.sql.datetime ?)
- Performance of MySQL Insert statements in Java: Batch mode prepared statements vs single insert with multiple values
- A persistent connection with JDBC to MySQL
- JDBC MySQL connection using Unix Socket
- JDBC connection error : unrecognized timezone [duplicate]