Sina SAE build wordpress Database Configuration

Source: Internet
Author: User
Tags wordpress database wordpress debug

Sina App Engine to build WordPress, using the Quick Install Wizard will not be able to connect to the database.

The wp-config.php can be modified locally and submitted again.

<?php/** * WordPress Basic configuration file. * * This file contains the following configuration options: MySQL settings, database table name prefixes, keys, * WordPress language Settings, and Abspath. For more information, please visit the * {@link http://codex.wordpress.org/zh-cn:%E7%BC%96%E8%BE%91_wp-config.php * edit wp-config.php} Codex page. Please consult your space provider for details on MySQL settings. * This file is used in the Setup program to automatically generate the wp-config.php configuration file, * You can manually copy this file, rename it to "wp-config.php", and then enter the relevant information. * * @package WordPress *///* * MySQL Settings-specific information from the host you are using * *///** the name of the database for WordPress */define (' db_name ', sae_mysql_db);/** MySQL database username */define (' db_user ', sae_mysql_user);/** MySQL database password */define (' Db_password ', sae_mysql_pass); /** MySQL hostname */define (' db_host ', sae_mysql_host_m. ': '. Sae_mysql_port);/** The default text encoding */define (' db_charset ', ' UTF8 ') when creating a data table;/** database grooming type. If you are unsure do not change */define (' db_collate ', ');/**#@+ * Authentication key setting. * * You can write some characters * or directly access {@link https://api.wordpress.org/secret-key/1.1/salt/WordPress.org private key Generation service}, * Any changes will cause the cookie to expire, All users must log on again. * * @since 2.6.0 */define (' Auth_key ', ' put your unique phrase here ');d EFINE (' secure_auth_key ', ' put your unique phrase here ');d the Efine (' Logged_in_key ', ' put your unique phrase here ');d efine (' NO Nce_key ', ' put your unique phrase here ');d the Efine (' Auth_salt ', ' put your unique phrase here ');d efine (' secure_a       Uth_salt ', ' put your unique phrase here ');d the Efine (' Logged_in_salt ', ' put your unique phrase here ');d efine (' Nonce_salt ', ' Put your unique phrase here ');/**#@-*//** * WordPress data table prefix. * * If you have the need to install multiple wordpress in the same database, please set a different data table prefix for each wordpress. * Prefix names can only be underlined for numeric characters and letters. */$table _prefix = ' wp_ ';/** * WordPress language Settings, Chinese version default is Chinese. * * This setting allows WordPress to display the language you need. * wp-content/languages. Mo language files should be placed in the same name. * To use the WordPress Simplified Chinese interface, just fill in the ZH_CN. */define (' Wplang ', ' zh_cn ');/** * Developer-specific: WordPress debug mode. * * To change this value to "true", WordPress will display all the hints for development. * Plugin developers are strongly encouraged to enable this feature in the development environment. */define (' Wp_debug ', false); * * All right! Please do not continue editing. Please save this document. Use happily! *//** the absolute path of the WordPress directory. */if (!defined (' Abspath ')) define (' Abspath ', DirName (__file__). '/');/** set the WordPress variable and the include file. */require_once (Abspath. ' wp-settings.php ');

  

Sina SAE build wordpress Database Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.