How to fix error 1044?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
Error occurs when import database from local disk.
SQL query: CREATE TABLE `wp_commentmeta` ( `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `comment_id` bigint(20) unsigned NOT NULL DEFAULT '0', `meta_key` varchar(255) DEFAULT NULL, `meta_value` longtext, PRIMARY KEY (`meta_id`), KEY `comment_id` (`comment_id`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 Answer MySQL: The Documentation #1044 - a For user 'id5570277_zudi'@'%' access to database 'information_schema' closed
by | 15 views

1 Answer

0 like 0 dislike
It seems that you are trying to create a table in the system read-only database `information_schema`. Before the query, select your database (USE basename).

Related questions

0 like 0 dislike
1 answer
asked Jun 12, 2019 by sergmit
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Jun 11, 2019 by bossic
110,608 questions
257,187 answers
40,796 users