太阳成集团tyc151com-下载

[10501] PDOException in Connection.php line 764

SQLSTATE[42000]: Syntax error or access violation: 1142 UPDATE command denied to user 'aijiying'@'127.0.0.1' for table 'm_case'

  1. $this->numRows = $this->PDOStatement->rowCount();
  2. return $this->numRows;
  3. } catch (\PDOException $e) {
  4. if ($this->isBreak($e)) {
  5. return $this->close()->execute($sql, $bind, $query);
  6. }
  7. throw new PDOException($e, $this->config, $this->getLastsql());
  8. } catch (\Throwable $e) {
  9. if ($this->isBreak($e)) {
  10. return $this->close()->execute($sql, $bind, $query);
  11. }
  12. throw $e;
  13. } catch (\Exception $e) {
  14. if ($this->isBreak($e)) {
  15. return $this->close()->execute($sql, $bind, $query);

Call Stack

  1. in Connection.php line 764
  2. at Connection->execute('UPDATE `m_case` SET...', ['ThinkBind_1_' => ['99', 1]], object(Query)) in Connection.php line 1157
  3. at Connection->update(object(Query)) in Query.php line 2902
  4. at Query->update(['hits' => ['INC', 1]]) in Query.php line 726
  5. at Query->setField('hits', ['INC', 1]) in Query.php line 759
  6. at Query->setInc('hits') in Cases.php line 47
  7. at Cases->case_show()
  8. at ReflectionMethod->invokeArgs(object(Cases), []) in Container.php line 395
  9. at Container->invokeReflectMethod(object(Cases), object(ReflectionMethod), ['article_id' => '99']) in Module.php line 132
  10. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  11. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  12. at Middleware->think\{closure}(object(Request))
  13. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  14. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  15. at Module->exec() in Dispatch.php line 168
  16. at Dispatch->run() in App.php line 432
  17. at App->think\{closure}(object(Request), object(Closure), null)
  18. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  19. at Middleware->think\{closure}(object(Request))
  20. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  21. at Middleware->dispatch(object(Request)) in App.php line 435
  22. at App->run() in index.php line 21

Exception Datas

PDO Error Info
SQLSTATE 42000
Driver Error Code 1142
Driver Error Message UPDATE command denied to user 'aijiying'@'127.0.0.1' for table 'm_case'
Database Status
Error Code 10501
Error Message SQLSTATE[42000]: Syntax error or access violation: 1142 UPDATE command denied to user 'aijiying'@'127.0.0.1' for table 'm_case'
Error SQL UPDATE `m_case` SET `hits` = `hits` + 1 WHERE `article_id` IN (99)
Database Config
type mysql
hostname localhost
database aijiying
hostport
dsn
params []
charset utf8
prefix m_
debug true
deploy 0
rw_separate false
master_num 1
slave_no
read_master false
fields_strict true
resultset_type array
auto_timestamp false
datetime_format Y-m-d H:i:s
sql_explain false
builder
query \think\db\Query
break_reconnect false
break_match_str []

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID r8uhcnscma7pt0hdej1ts0nob7
_wtsexp 1730713557
_wtscpk 58ad081f59
_wtsuid 5b694e0f-9aef-46e9-bc71-97bd88488b42
_wtspurl /dama.php
Sessionempty
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-80b7350b-bac5-4cf9-ab60-cc3d7a49c047
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:\php_56
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\aijiying\aijiying.config
APP_POOL_ID aijiying
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-21567
ComSpec C:\Windows\system32\cmd.exe
DriverData C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 8
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\php_52;D:\mysql\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_ARCHITEW6432 AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5504
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\PowerShell\Modules\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME EBS-21567$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/index/cases/case_show/article_id/99.html
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME www.aigenetec.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\wwwroot\aijiying\wwwroot\index.php
REQUEST_URI /index/cases/case_show/article_id/99.html
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 58405
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING
PATH_TRANSLATED D:\wwwroot\aijiying\wwwroot\index.php\index\cases\case_show\article_id\99.html
PATH_INFO /index/cases/case_show/article_id/99.html
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/10372
INSTANCE_NAME AIJIYING
INSTANCE_ID 10372
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\aijiying\wwwroot
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH D:\wwwroot\aijiying\wwwroot\
APPL_MD_PATH /LM/W3SVC/10372/ROOT
IIS_UrlRewriteModule 7,1,1993,2336
WEBSOCKET_VERSION 13
UNENCODED_URL /index/cases/case_show/article_id/99.html
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /index/cases/case_show/article_id/99.html
HTTP_REALIP_WTS_X 104.206.97.26
HTTP_X_REAL_IP 104.206.97.26
HTTP_X_FORWARDED_FOR 104.206.97.26
HTTP_USER_AGENT Mozilla/5.0/(X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
HTTP_HOST www.aigenetec.cn
HTTP_COOKIE PHPSESSID=r8uhcnscma7pt0hdej1ts0nob7; _wtsexp=1730713557; _wtscpk=58ad081f59; _wtsuid=5b694e0f-9aef-46e9-bc71-97bd88488b42; _wtspurl=/dama.php
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php/index/cases/case_show/article_id/99.html
REQUEST_TIME_FLOAT 1732523175.3418
REQUEST_TIME 1732523175
Environment Variablesempty
ThinkPHP Constantsempty
Baidu
sogou