0

I am very new to DataGrip and SQL in general, so please be kind.

I want to create a simple MySQL database for my homemade project. So, open datagrip --> create new datasource --> mysql

Tried "Test connection" but it keeps giving me the same error.

What i am doing wrong? I need to set something first?

error on the creation of the page

  • 1
    Do you have MySQL installed, is it running and listening on port 3306 of localhost? See also [Solving a "communications link failure" with JDBC and MySQL](https://stackoverflow.com/questions/6865538/solving-a-communications-link-failure-with-jdbc-and-mysql) and its duplicate. – Mark Rotteveel Apr 29 '22 at 12:03
  • Seems that there is no established server. DataGrip is only a client, it does not create the database itslef. – moscas May 04 '22 at 12:00
  • 1
    thanks to you both, now its working! – Alessio De Marino May 11 '22 at 12:33

1 Answers1

0

DataGrip can't create MySQL database. IDE just can establish a connection to existent server (or local instance).

Vasilii Chernov
  • 1,169
  • 8
  • 17