我正在用VS代码中的ASP.NET Razor页面和SignalR以及MySQL数据库制作一个web聊天应用程序。()MySql.Data.MySqlClient.MySqlException (0x80004005): Host'' is not allowed to connect to this MySQL server
它会导致我以前在appsettings.json文件中连接到数据库的Co
, 'Laragon.MySQL') #1 {main} thrown in C:\laragon\www\MyQueerDate\install\index.php on line 47 if (mysqli_connect_errno()) {
$ServerErrors[] = "Failed to connect to MySQL, 'Laragon.MySQL') #1 {main} thr
我使用以下命令在终端上运行MySQL。然后我尝试执行use mysql;,但它没有正常运行,但显示了一条意外的消息,如下所示。ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
你认为为什么会发生这种情况?