I was able to connect to my local MySQL instance after just setting the server name to 127.0.0.1 instead of localhost and in the Advanced... settings set port to 3306 . I originally tried to set my server name to localhost:3306 and 127.0.0.1 with no luck. Additionally here is what my connection looks like in settings.json in Azure Data Studio:
As I am writing, there is no native support for MySQL database connection. You can vote for the feature on Database Support MySQL Request . However, because Azure Data Studio supports python, you can connect to MySQL database using python libraries.
3条答案
按热度按时间0tdrvxhp1#
I was able to connect to my local MySQL instance after just setting the server name to
127.0.0.1
instead oflocalhost
and in theAdvanced...
settings set port to3306
.I originally tried to set my server name to
localhost:3306
and127.0.0.1
with no luck.Additionally here is what my connection looks like in
settings.json
in Azure Data Studio:wpx232ag2#
As I am writing, there is no native support for MySQL database connection. You can vote for the feature on Database Support MySQL Request . However, because Azure Data Studio supports python, you can connect to MySQL database using python libraries.
sz81bmfz3#
This feature is now available in preview (as of writing). You need to install the MySQL extension. Find the documentation and steps here Use Azure Data Studio to connect and query MySQL