SELECT @@read_only;
CREATE TEMPORARY TABLE tmp_write_test (
id BIGINT PRIMARY KEY AUTO_INCREMENT,
msg VARCHAR(64),
ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO tmp_write_test (msg) VALUES ('aurora write test');
SELECT * FROM tmp_write_test ORDER BY id DESC LIMIT 1;
DROP TEMPORARY TABLE tmp_write_test;
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme