如何从本地Wordpress连接到远程NearlyFreeSpeech.net MySQL?

时间:2015-05-08 17:52:56

标签: php mysql wordpress nearlyfreespeech

来自wp-config.php

的我的连接代码
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'wordpress');

/** MySQL database password */
define('DB_PASSWORD', 'MYPASSWORD');

/** MySQL hostname */
define('DB_HOST', 'DBProcessName.db');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

在线工作正常,但不在本地。

我必须更改什么,以便本地和在线访问网站时都能正常工作?

0 个答案:

没有答案