Mysql refuses to create table
#6

You need to add the columns to your CREATE TABLE query, see example below:
Код:
CREATE TABLE IF NOT EXISTS `terma`(`ID`int AUTO_INCREMENT PRIMARY KEY)
Do you have debug enabled? If not you should enable and then check your MySQL log. As you're using a very outdated version of the MySQL plugin I'm not familiar with the functions but try this:
Код:
mysql_debug(1);
Place it before your connection code.

Also generally speaking I don't think it's worth the effort trying to create tables in Pawn, would it not be easier to simply create the table in phpMyAdmin?
Reply


Messages In This Thread
Mysql refuses to create table - by iFiras - 25.12.2017, 11:12
Re: Mysql refuses to create table - by DelK - 25.12.2017, 11:53
Re: Mysql refuses to create table - by iFiras - 25.12.2017, 12:02
Re: Mysql refuses to create table - by MEW273 - 25.12.2017, 12:15
Re: Mysql refuses to create table - by iFiras - 25.12.2017, 12:17
Re: Mysql refuses to create table - by MEW273 - 25.12.2017, 12:24
Re: Mysql refuses to create table - by iFiras - 25.12.2017, 12:48
Re: Mysql refuses to create table - by MEW273 - 25.12.2017, 12:51
Re: Mysql refuses to create table - by iFiras - 25.12.2017, 12:54
Re: Mysql refuses to create table - by MEW273 - 25.12.2017, 12:57

Forum Jump:


Users browsing this thread: 1 Guest(s)