SQL Dialect is Not Configured (Phpstorm)

我与影子孤独终老i 提交于 2019-12-03 06:11:42

问题


Hi guys I am working on Google oauthorization2 and i encounter problem that "SQL dialect is not configured" so that's why my query is not executing and data is going to table Please Help me.

Below I have listed 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')");

回答1:


Head to File > Settings > Languages & Frameworks > SQL Dialects and set it for the whole project.




回答2:


This is a screenshot of how to do that inside the settings:

This is on version 2016.3



来源:https://stackoverflow.com/questions/30411778/sql-dialect-is-not-configured-phpstorm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!