简体   繁体   中英

SQL Dialect is Not Configured (Phpstorm)

I am working on Google oauthorization2 and I encounter problem that

SQL dialect is not configured

That's why my query is not executing and data is going to table.

I have listed below both of queries where I encounter problem.

Tools: PhpStorm 8+ MySQL Localhost

$user_exist = $mysqli->query("SELECT COUNT(google_id) as usercount FROM google_users WHERE google_id=$user_id")->fetch_object()->usercount;

$mysqli->query("INSERT INTO google_users (google_id, google_name, google_email, google_link, google_picture_link)
        VALUES ($user_id, '$user_name','$email','$profile_url','$profile_image_url')");

前往File > Settings > Languages & Frameworks > SQL Dialects并为整个项目设置它。

This is a screenshot of how to do that inside the settings: 在此处输入图片说明

This is on version 2016.3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM