my MYSQL DB can find in wamp\bin\mysql\mysql5.6.12\data path called cament_factory_db
I copy that cament_factory_db folder to my netbeans project folder and changed the connection string jdbc:mysql://localhost:3306/cement_factory_db to jdbc:mysql://cement_factory_db re-compiled it. then compiler says
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Communications link failure
I want to create portable jar file with MYSQL data base? How does it do ?