@@ -514,7 +514,7 @@ public void AnonymousLogin()
514514 [ Fact ]
515515 public void ConnectInVariousWays ( )
516516 {
517- // Fails in 8.0+ since new validation takes place were user does not exist.
517+ // Fails in 8.0+ since new validation takes place where user does not exist.
518518 if ( st . conn . driver . Version . isAtLeast ( 8 , 0 , 1 ) ) return ;
519519
520520 // connect with no db
@@ -1408,7 +1408,7 @@ public void ConnectUsingMySqlNativePasswordPlugin()
14081408 Assert . Contains ( "TLSv1" , reader . GetString ( 1 ) ) ;
14091409 }
14101410
1411- command . CommandText = String . Format ( "SELECT `User`, `plugin` FROM `mysql`.`user` WHERE `User` = '{0}';" , userName ) ;
1411+ command . CommandText = string . Format ( "SELECT `User`, `plugin` FROM `mysql`.`user` WHERE `User` = '{0}';" , userName ) ;
14121412 using ( MySqlDataReader reader = command . ExecuteReader ( ) )
14131413 {
14141414 Assert . True ( reader . Read ( ) ) ;
@@ -1928,10 +1928,10 @@ public void EmptyPasswordOnMySqlNativePassword()
19281928 {
19291929 var pluginName = "mysql_native_password" ;
19301930 var builder = new MySqlConnectionStringBuilder ( ) ;
1931- builder . UserID = "testNativeBlankPassword " ;
1931+ builder . UserID = "testNtvPass " ;
19321932 builder . Password = "" ;
1933- builder . Server = "localhost" ;
1934- builder . Port = 3305 ;
1933+ builder . Server = st . conn . Settings . Server ;
1934+ builder . Port = st . conn . Settings . Port ;
19351935 st . CreateUser ( builder . UserID , builder . Password , pluginName ) ;
19361936
19371937 using ( var connection = new MySqlConnection ( builder . ConnectionString ) )
0 commit comments