File tree Expand file tree Collapse file tree
samples/features/sql-big-data-cluster/data-virtualization/generic-odbc/mysql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ IF NOT EXISTS(SELECT * FROM sys.database_scoped_credentials WHERE name = 'MySQL8
1313IF NOT EXISTS(SELECT * FROM sys .external_data_sources WHERE name = ' MySQL80' )
1414 CREATE EXTERNAL DATA SOURCE MySQL80
1515 WITH (LOCATION = ' odbc://uc-win19-vm.redmond.corp.microsoft.com'
16- , CONNECTION_OPTIONS = ' Driver={MySQL 8.0 ODBC Driver Unicode Driver};User name=%u;Passwword=%p'
16+ , CONNECTION_OPTIONS = ' Driver={MySQL ODBC 8.0 Unicode Driver};User name=%u;Passwword=%p;IGNORE_SPACE=1 '
1717 , CREDENTIAL = [MySQL80- user]);
1818
1919-- Create external table over inventory table on MySQL server
@@ -60,6 +60,7 @@ SELECT * FROM mysql_tables;
6060*/
6161-- Cleanup
6262/*
63+ DROP EXTERNAL TABLE mysql_version
6364DROP EXTERNAL TABLE mysql_tables
6465DROP EXTERNAL DATA SOURCE MySQL80
6566DROP DATABASE SCOPED CREDENTIAL [MySQL80-user]
You can’t perform that action at this time.
0 commit comments