重新上传数据库

This commit is contained in:
wang_chengh 2023-09-20 21:05:23 +08:00
parent c1f12c8f16
commit f993cd14d2
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
INSERT INTO users (username, password)
VALUES ('admin', 'admin');
INSERT INTO ip_mac (username, password)
INSERT INTO ip_mac (ip, mac)
VALUES ('192.168.0.125', '00:0C:CF:93:8C:92');
INSERT INTO ip_mac (username, password)
INSERT INTO ip_mac (ip, mac)
VALUES ('192.168.0.117', '08:00:20:0A:8C:6D');

View File

@ -7,8 +7,6 @@ CREATE TABLE if not exists users (
username VARCHAR(50) NOT NULL,
password VARCHAR(255) NOT NULL
);
INSERT INTO users (username, password)
VALUES ('admin', 'admin');
-- 创建ARP映射表
CREATE TABLE if not exists ip_mac(
id INT AUTO_INCREMENT PRIMARY KEY,