hi, I have created a new database in mysql called "sample_db" , i cannot connect this database through java althought i am in root account in localhost
i have tried to add this database in mysql.db to give me the right to access but it does work. Now i can only make new tables and connect to these tables under test database.
How can i create new database and tables so that i can connect to it without any problem?