Re: MySQL 4.0.14 mysql_create_db()... II

2003-08-14 Thread Markus Jais
hello for mysql_create_db() use mysql_query() and give an SQL Statement (CREATE DATABASE XYZ) as an argument. the same for mysql_drop_db (DROP DATABASE). for mysql_connect: use mysql_real_connect. the same is valid if you are using the Ruby MySQL Modul. but it is very easy to extend the Ruby

MySQL 4.0.14 mysql_create_db()... II

2003-08-14 Thread Miguel Cardenas
Hello again... I opened mysql.h and found this... --- #ifdef USE_OLD_FUNCTIONS MYSQL * STDCALL mysql_connect(MYSQL *mysql, const char *host, const char *user, const char *passwd); int STDCALL mysql_create_db(MYSQL