mysql_drop_db

(PHP 3, PHP 4 )

mysql_drop_db -- MySQL 데이터베이스를 삭제

설명

int mysql_drop_db ( string database_name [, int link_identifier])

반환값: 성공하면 TRUE, 실패하면 FALSE.

mysql_drop_db() attempts to drop (remove) an entire database from the server associated with the specified link identifier.

참조: mysql_create_db(). 하위 호환성이 있는 mysql_dropdb() 함수 역시 사용 가능하다.