Home CMS Tutorial PHPCMS What should I do if the installation of phpcms2008 fails and prompts 1064?

What should I do if the installation of phpcms2008 fails and prompts 1064?

Feb 05, 2020 am 09:45 AM

What should I do if the installation of phpcms2008 fails and prompts 1064?

What should I do if phpcms2008 fails to install and prompts 1064?

MySQL Errno: 1064 error occurred in the last step of PHPCMS2008 installation!

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
Copy after login

Virtual host platform, discuz7 was successfully installed, but phpcms2008 failed to be installed

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

Don’t talk about binary upload, it’s 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 really doesn’t work, install the database a few more times. This problem will appear when many people install it, or use other 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 environment configuration problems and connection timeout Question;

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

The above is the detailed content of What should I do if the installation of phpcms2008 fails and prompts 1064?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
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

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)