search
HomeCMS TutorialPHPCMSSolution to phpcms 1064 error

Solution to phpcms 1064 error

Jan 14, 2020 am 09:07 AM
phpcms

Solution to phpcms 1064 error

Solution to phpcms 1064 error

MySQL Errno appears in the last step of PHPCMS V9 installation: 1064 error, wait online !

MySQL Query : CREATE TABLE `phpcms_admin` ( `userid` mediumint(8) unsigned NOT NULL, `username` char(20) NOT NULL, `allowmultilogin` tinyint(1) unsigned NOT NULL default '0', `alloweditpassword` tinyint(1) unsigned NOT NULL default '0', `editpasswordnextlogin` tinyint(1) unsigned NOT NULL default '0', `disabled` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`userid`)) TYPE=MyISAM DEFAULT CHARSET=gbk 
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM DEFAULT CHARSET=gbk' at line 1 
MySQL Errno : 1064 
Message : MySQL Query Error

Virtual host platform, discuz7 was installed successfully, phpcms V9 installation failed

Microsoft-IIS/6.0
MySQL client version: 5.0.45
PHP extension: mysql

Don’t talk about the binary upload, it is absolutely no problem. In addition, the database is new and has no tables.

Answer:

After installing the database, the compatibility between the database and PHP is not good. If it doesn’t work, install the database several times. Many people have this problem when they install it. appears, or switch to another database. This is a problem with your server environment. There are many reasons. The common ones are the following:

1. MySQL database environment problems and encoding problems;

2. Windows Environmental configuration issues and connection timeout issues;

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of Solution to phpcms 1064 error. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.