Delete MySQL database w/o phpmyadmin?

Web page creation, programs, scripts, PHP, SQL?

Moderator: Moderators

Delete MySQL database w/o phpmyadmin?

Postby lak1415_freebsd » Sat Apr 02, 2005 4:56 am

How can I delete the content of my database withouut uploading the phpMyadmin ? Plz help me ...
Posts: 1
Joined: Thu Mar 31, 2005 4:21 am
Location: Viet Nam

Postby Matej » Sat Apr 02, 2005 12:09 pm

User avatar
Forum Admin
Forum Admin
Posts: 365
Joined: Sun Sep 29, 2002 12:28 am
Location: Ljubljana, Slovenia

Postby sergioag » Sat Apr 02, 2005 9:44 pm

You can use, for example, PHP to make a MySQL query with the following code:

DROP DATABASE 'database_name';

Obviously replacing database_name with the database you want to replace.

Hope this is useful.

Sergio Aguayo
Posts: 6
Joined: Mon Jan 31, 2005 2:20 pm

Return to Web development

Who is online

Users browsing this forum: No registered users and 1 guest