Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 java 备份 MySQL 数据库。我想知道是否有办法监控备份进度,然后在 JProgressBar 上以百分比显示?
谢谢。
首先,您不应该将 Java 插入其中。MySQL 已经自带备份功能。使用它们。不要自己动手;不要增加不可靠性;根本不添加任何代码。只需定义一个备份计划。
<<<SQL和是什么SQL意思?
<<<SQL
SQL
$query = <<<SQL INSERT INTO comments ( content ) VALUES ( '$content' ) SQL; return my