my sql error

Links for php scripts

Moderators: macek, egami, gesf

Post Reply
User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 342
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: my sql error

Post by freshnet » Wed Aug 01, 2012 5:19 am

from the screenshots, xampp is expecting your database to be called 'database' but it's called 'bazadate'. You'll likely need to edit your mysql/phpmyadmin ini files to change this. Look at the xampp documentation to find out more.

User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 342
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: my sql error

Post by freshnet » Thu Aug 02, 2012 3:19 pm

try using ENGINE=MyISAM instead of TYPE=MyISAM

User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 342
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: my sql error

Post by freshnet » Thu Aug 02, 2012 3:21 pm

you may actually need ENGINE=MyISAM DEFAULT CHARSET=utf8

Antrikssh
New php-forum User
New php-forum User
Posts: 22
Joined: Wed May 02, 2012 5:27 am

Re: my sql error

Post by Antrikssh » Mon Aug 06, 2012 5:45 am

Its a syntax problem that occured in your querry.

Please make change in line 'comment' varchar(255) not null default" in your querry in place of that write 'comment' varchar(255) not null default with out ("). It will may help you.

Regards,
Antrikssh.... :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest