[10501] PDOException in Connection.php line 438

SQLSTATE[42000]: Syntax error or access violation: 1142 UPDATE command denied to user 'qdm648633487'@'115.29.111.35' for table 'mb_lists'

  1. }
  2. // 执行语句
  3. $this->PDOStatement->execute();
  4. // 调试结束
  5. $this->debug(false);
  6. $this->numRows = $this->PDOStatement->rowCount();
  7. return $this->numRows;
  8. } catch (\PDOException $e) {
  9. throw new PDOException($e, $this->config, $this->getLastsql());
  10. }
  11. }
  12. /**
  13. * 根据参数绑定组装最终的SQL语句 便于调试
  14. * @access public
  15. * @param string $sql 带参数绑定的sql语句
  16. * @param array $bind 参数绑定列表
  17. * @return string

Call Stack

  1. in Connection.php line 438
  2. at Connection->execute('UPDATE `mb_lists` S...', ['where_id' => ['225', 1]]) in Query.php line 240
  3. at Query->execute('UPDATE `mb_lists` S...', ['where_id' => ['225', 1]]) in Query.php line 2208
  4. at Query->update() in Base.php line 76
  5. at Base->borwse('225') in Lists.php line 45
  6. at Lists->listsinfo()
  7. at ReflectionMethod->invokeArgs(object(Lists), []) in App.php line 224
  8. at App::invokeMethod([object(Lists), 'listsinfo'], []) in App.php line 393
  9. at App::module(['index', 'lists', 'listsinfo'], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  10. at App::run() in start.php line 18
  11. at require('/data/home/qxu206060...') in index.php line 19

Exception Datas

PDO Error Info
SQLSTATE
42000
Driver Error Code
1142
Driver Error Message
UPDATE command denied to user 'qdm648633487'@'115.29.111.35' for table 'mb_lists'
Database Status
Error Code
10501
Error Message
SQLSTATE[42000]: Syntax error or access violation: 1142 UPDATE command denied to user 'qdm648633487'@'115.29.111.35' for table 'mb_lists'
Error SQL
UPDATE `mb_lists` SET `browse`=browse+1 WHERE `id` = 225
Database Config
type
mysql
hostname
qdm648633487.my3w.com
database
qdm648633487_db
username
qdm648633487
password
T34IWzp03U
hostport
dsn
params
[]
charset
utf8
prefix
mb_
debug
true
deploy
0
rw_separate
false
master_num
1
slave_no
fields_strict
true
result_type
2
resultset_type
array
auto_timestamp
false
datetime_format
Y-m-d H:i:s
sql_explain
false
builder
query
\think\db\Query

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
DOCUMENT_ROOT
/usr/home/qxu2060600148/htdocs
GATEWAY_INTERFACE
CGI/1.1
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
HTTP_HOST
www.htvcxdxny.com
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH
/bin:/usr/bin
PATH_INFO
/index/lists/listsinfo/id/225
PATH_TRANSLATED
/usr/home/qxu2060600148/htdocs/public/index.php
PHPRC
/var/www/php56/hichina_ini/qxu2060600148
QUERY_STRING
REDIRECT_STATUS
200
REMOTE_ADDR
175.29.233.10
REMOTE_PORT
20000
REQUEST_METHOD
GET
REQUEST_URI
/public/index.php/index/lists/listsinfo/id/225
SCRIPT_FILENAME
/usr/home/qxu2060600148/htdocs/public/index.php
SCRIPT_NAME
/public/index.php
SCRIPT_URI
http://www.htvcxdxny.com/public/index.php/index/lists/listsinfo/id/225
SCRIPT_URL
/public/index.php/index/lists/listsinfo/id/225
SERVER_ADDR
139.129.182.9
SERVER_ADMIN
webmaster@qxu2060600148.my3w.com
SERVER_NAME
www.htvcxdxny.com
SERVER_PORT
80
SERVER_PROTOCOL
HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
UNIQUE_ID
YAiRqAoesikAAFvLQoAAAAAG
PHP_SELF
/public/index.php/index/lists/listsinfo/id/225
REQUEST_TIME_FLOAT
1611174312.0949
REQUEST_TIME
1611174312
Environment Variablesempty
ThinkPHP Constants
APP_PATH
/data/home/qxu2060600148/htdocs/public/../application/
THINK_VERSION
5.0.5
THINK_START_TIME
1611174312.0962
THINK_START_MEM
236264
EXT
.php
DS
/
THINK_PATH
/data/home/qxu2060600148/htdocs/thinkphp/
LIB_PATH
/data/home/qxu2060600148/htdocs/thinkphp/library/
CORE_PATH
/data/home/qxu2060600148/htdocs/thinkphp/library/think/
TRAIT_PATH
/data/home/qxu2060600148/htdocs/thinkphp/library/traits/
ROOT_PATH
/data/home/qxu2060600148/htdocs/
EXTEND_PATH
/data/home/qxu2060600148/htdocs/extend/
VENDOR_PATH
/data/home/qxu2060600148/htdocs/vendor/
RUNTIME_PATH
/data/home/qxu2060600148/htdocs/runtime/
LOG_PATH
/data/home/qxu2060600148/htdocs/runtime/log/
CACHE_PATH
/data/home/qxu2060600148/htdocs/runtime/cache/
TEMP_PATH
/data/home/qxu2060600148/htdocs/runtime/temp/
CONF_PATH
/data/home/qxu2060600148/htdocs/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false