0

I'm practicing learning MySQL code with SQL Fiddle, it worked sometimes but now I get errors all the time when I use the "Build schema" or "Run SQL" functions. After a while, the error printed is "Unable to get host connection: Connections could not be acquired from the underlying database!"

Anyone know how to solve the problem? Is there another tool I can use to do practice with queries to my schema?

4

1 回答 1

0

在本地机器上安装MariaDBMySQL数据库服务器。安装一个体面的原生 SQL 客户端程序。HeidiSQL在 Windows 上很棒。Mac有很多。任何现代笔记本电脑(大约从 2014 年开始)都可以毫不费力地处理学生或开发人员规模的数据库服务器和客户端。

您可以安装phpmyadmin。但这是一个 php 网络应用程序,因此您还必须安装一个网络服务器和 php 才能使其正常工作。因此建议使用 XAMPP 或 LAMP 堆栈包。我更喜欢本地客户;少出错;笔记本电脑中的东西更少。

最好保留数据库文件以便与其他人共享 SQL 演示。就像 Stack Overflow 的帖子一样。

于 2020-10-05T12:06:16.737 回答