PDA

For continued disscussion on this topic : Can I do it or not ?



Almosamem
06-21-2001, 12:38 PM
In the name of Allah

suppose I do not have a Telnet to my server.
and I am the (root) user
can I create a database in my server without telnet ?
or can I do this line :

GRANT ALL PRIVILEGES ON mydbase.* TO myusername@localhost IDENTIFIED BY 'mypassword';

from the internet browser ?

gzazJim
06-21-2001, 04:10 PM
Hey Almosamem,

Hmmmm... No telnet access? That sounds very odd. Who is your webhosting provider, and have you contacted them about this?

If you're using php, you should be able to create a new DB programmatically like so:



int mysql_create_db(string name, int [link_identifier]);


Let me know about the telnet thing - that seems off...

Regards,

Jim

Almosamem
06-21-2001, 10:50 PM
OKm Van I use like this :

mysql_query("GRANT ALL PRIVILEGES ON mydbase.* TO myusername@localhost IDENTIFIED BY 'mypassword'");



??

Almosamem
06-21-2001, 10:58 PM
YES
It works !!!!!!!!!