You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
358B

  1. CREATE TABLE `db`.`users` (
  2. `userid` INT AUTO_INCREMENT,
  3. `username` VARCHAR(45) NULL,
  4. `password` VARCHAR(45) NULL,
  5. PRIMARY KEY (`userid`));
  6. insert into users values (NULL, "admin", "password");
  7. insert into users values (NULL, "bernt", "inge");
  8. CREATE USER 'root'@'10.5.0.6' IDENTIFIED BY 'root';
  9. GRANT ALL PRIVILEGES ON db.* TO 'root'@'10.5.0.6';