The error messages gives you a hint already. Use this grant statement:
GRANT ALL ON *.* TO 'servname_shb'@'localhost';
Or better, as @grantk points out in the comments, refine the access scope to only what is actually needed.
More Related Contents:
- Prevent creating duplicate entries in PHP
- Query database then email posts from where user is subbed to
- Laravel – only a zero is saved to the database
- I am seeing this error on submitting form Error: query was empty [closed]
- PHP Merging Row with same value (more than one column)
- Reference: What is a perfect code sample using the MySQL extension? [closed]
- Convert from MySQL datetime to another format with PHP
- Correct way to use LIKE ‘%{$var}%’ with prepared statements?
- Having issue with matching rows in the database using PDO
- How can I properly use a PDO object for a parameterized SELECT query
- How do I return integer and numeric columns from MySQL as integers and numerics in PHP?
- Whether to use “SET NAMES”
- Escaping single quote in PHP when inserting into MySQL [duplicate]
- How can I get enum possible values in a MySQL database?
- Mechanisms for tracking DB schema changes [closed]
- Inserting data using mysqli
- Import file size limit in PHPMyAdmin
- MySQL diacritic insensitive search (spanish accents)
- Detect mysql update/insertion failure due to violated unique constraint
- PHP + MySql + Stored Procedures, how do I get access an “out” value?
- How do I construct a cross database query in PHP?
- How to bind SQL variables in PHP?
- Getting a PHP PDO connection from a mysql_connect()?
- Having issue with matching rows in the database
- PHP – Secure member-only pages with a login system
- MySQL ORDER BY IN()
- mysql – INSERT date range into date columns IF dates don’t overlap with existing ones
- mysql_connect VS mysql_pconnect [closed]
- Strange problem with the length of the field gotten from database [duplicate]
- mysql_fetch_array skipping first row