Jump to content

Recommended Posts

Posted

Greetings!

 

I am trying to create a simple application in java FOR EDUCATIONAL PURPOSE.

In that, I want to create databases dynamically.

 

eg.: when i register, i get a database.

ONLY TRIAL BASIS, nothing more than that.

 

I have tried that with remote access from my development machine to tommy.heliohost.org, but i am getting an error while creating database. ALL OTHER TASKS ARE WORKING FINE EXCEPT THIS ONE: create database.

 

Error: Access denied for user '*******'@'59.95.116.27' to database '**************'

*: my user and database names.

 

Is it possible?

Any suggestions?

I again declare that it is ONLY for learning.

 

Thanks.

Posted

Your cpanel mysql account doesn't have permissions to create databases. When you use the cpanel mysql page it creates the database with root privileges and then assigns you access.

Posted

Ok sure!



I already knew the solution to the problem using Dynamic Table Creation and it is working. I just wanted to check if Database Creation works or not. No problem! thanks for the help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...