我一直在为Wiki系列的第二个MediaWiki Wiki(converter.penguinicewikis.com/mw19/)开发单独的数据库,但是它存在一些问题。但是,我在该Wiki上收到错误1142,它表示数据库用户到用户表的SELECT命令被拒绝。另外,我尝试向我的第二个数据库授予特权,而MySQL给了我错误#1044,该错误指示未知用户拒绝访问我的第一个Wiki数据库。 Here is a screenshot of error 1044.现在,下面是数据库错误。
/home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php的第1149行的[w8j4VnacQMZDrez3KCaLSwAAABE] / mw19 / Wikimedia \ Rdbms \ DBQueryError:发生数据库查询错误。您是否忘了升级后运行应用程序的数据库架构更新器?
查询:SELECT user_id,user_name,user_real_name,user_email,user_touched,user_token,user_email_authenticated,user_email_token,user_email_token_expires,user_registration,user_editcount FROM gjlxrtap_mw19758
。mwd50q_user
WHERE user_id ='1'
函数:User :: loadFromDatabase
错误:拒绝表'mwd50q_user'(localhost)用户'gjlxrtap_mw34555'@'localhost'的1142 SELECT命令
回溯:
0 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(979):Wikimedia \ Rdbms \ Database-> reportQueryError(string,integer,string,string,boolean)
1 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(1343):Wikimedia \ Rdbms \ Database-> query(string,string)
2 /home/gjlxrtap/public_html/mw19/includes/libs/rdbms/database/Database.php(1411):Wikimedia \ Rdbms \ Database-> select(字符串,数组,数组,字符串,数组,数组)< / h1>
3 /home/gjlxrtap/public_html/mw19/includes/user/User.php(1287):Wikimedia \ Rdbms \ Database-> selectRow(字符串,数组,数组,字符串,数组)
4 /home/gjlxrtap/public_html/mw19/includes/user/User.php(496):User-> loadFromDatabase(integer)
5 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(892):User-> {closure}(布尔值,整数,数组,NULL)
6 [内部功能]:WANObjectCache-> {closure}(布尔值,整数,数组,NULL)
7 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(1012):call_user_func_array(关闭,数组)
8 /home/gjlxrtap/public_html/mw19/includes/libs/objectcache/WANObjectCache.php(898):WANObjectCache-> doGetWithSetCallback(string,integer,Closure,array,NULL)
9 /home/gjlxrtap/public_html/mw19/includes/user/User.php(521):WANObjectCache-> getWithSetCallback(字符串,整数,闭包,数组)
10 /home/gjlxrtap/public_html/mw19/includes/user/User.php(441):User-> loadFromCache()
11 /home/gjlxrtap/public_html/mw19/includes/user/User.php(405):User-> loadFromId(integer)
12 /home/gjlxrtap/public_html/mw19/includes/session/UserInfo.php(88):User-> load()
13 /home/gjlxrtap/public_html/mw19/includes/session/CookieSessionProvider.php(119):MediaWiki \ Session \ UserInfo :: newFromId(string)
14 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(487):MediaWiki \ Session \ CookieSessionProvider-> provideSessionInfo(WebRequest)
15 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(190):MediaWiki \ Session \ SessionManager-> getSessionInfoForRequest(WebRequest)
16 /home/gjlxrtap/public_html/mw19/includes/WebRequest.php(735):MediaWiki \ Session \ SessionManager-> getSessionForRequest(WebRequest)
17 /home/gjlxrtap/public_html/mw19/includes/session/SessionManager.php(129):WebRequest-> getSession()
18 /home/gjlxrtap/public_html/mw19/includes/Setup.php(762):MediaWiki \ Session \ SessionManager :: getGlobalSession()
19 /home/gjlxrtap/public_html/mw19/includes/WebStart.php(114):require_once(string)
20 /home/gjlxrtap/public_html/mw19/index.php(40):require(string)
21 {main}