admin管理员组文章数量:1327750
I want to use more than one database user to overcome the 7500 query database limit. How can I do that using wp-config.php
?
I want all the users to have the same password.
I want to use more than one database user to overcome the 7500 query database limit. How can I do that using wp-config.php
?
I want all the users to have the same password.
Share Improve this question edited Jul 6, 2017 at 22:57 TRiG 1658 bronze badges asked Feb 4, 2015 at 5:10 Shady M RasmyShady M Rasmy 4044 silver badges13 bronze badges1 Answer
Reset to default 3Just set a random user in your wp-config.php
for each request:
$db_users = array(
'user_1',
'user_2',
'user_3',
);
define( 'DB_USER', $db_users[ array_rand( $db_users ) ] );
本文标签: wp configCan I have multiple database users within WordPress
版权声明:本文标题:wp config - Can I have multiple database users within WordPress? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742234036a2437745.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论