updated pictodb_init.sql to avoid foreign key checks

parent 272d70f2
set foreign_key_checks=0;
GRANT USAGE ON *.* TO 'pictodbuser'@'localhost'; GRANT USAGE ON *.* TO 'pictodbuser'@'localhost';
DROP USER 'pictodbuser'@'localhost'; DROP USER 'pictodbuser'@'localhost';
CREATE USER 'pictodbuser'@'localhost' identified by 'p1KT015'; CREATE USER 'pictodbuser'@'localhost' identified by 'p1KT015';
...@@ -7,3 +9,4 @@ CREATE DATABASE pictodb; ...@@ -7,3 +9,4 @@ CREATE DATABASE pictodb;
grant all privileges on pictodb.* to pictodbuser; grant all privileges on pictodb.* to pictodbuser;
flush privileges; flush privileges;
set foreign_key_checks=1;
../../symbolstx ../../../../symbolstx
\ No newline at end of file \ No newline at end of file
../../upload ../../../../upload
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment