dev
This commit is contained in:
12
prenosBaze.txt
Normal file
12
prenosBaze.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
#dump
|
||||
mysqldump -P [port] -h [host] -u [username] -p [database] > dump.sql
|
||||
|
||||
CREATE USER 'everything'@'%' IDENTIFIED BY 'EveryThing2022!';
|
||||
GRANT ALL PRIVILEGES ON EveryThingDev.* TO 'everything'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
|
||||
|
||||
mysql -h 127.0.0.1 -P 3306 -u david -p EveryThingDev < evedump.sql
|
||||
# ce negre
|
||||
sed -i 's/utf8mb4_0900_ai_ci/utf8mb4_unicode_ci/g' evedump.sql
|
||||
sed -i 's/utf8mb4_0900_bin/utf8mb4_unicode_ci/g' evedump.sql
|
||||
Reference in New Issue
Block a user