This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET @base_url := 'https://example.com'; | |
SELECT * FROM ( | |
-- Part 1: Basic Products (without combinations) | |
SELECT | |
p1.id_product AS product_id, | |
pl1.name AS product_name, | |
pl1.link_rewrite AS link_rewrite, | |
pl1.meta_description AS meta_description, | |
pl1.meta_keywords AS meta_keywords, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Not tested yet! | |
1. Create bash script eg. bash.sh | |
2. Write: | |
#!/bin/bash | |
DB_USER="your_db_user" | |
DB_PASS="your_db_password" | |
DB_NAME="your_db_name" | |
mysql -u$DB_USER -p$DB_PASS $DB_NAME << EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open CDM as Administrator | |
2. Type: setx PATH "%PATH%;C:\xampp\php" /m | |
3. Close and reopen CMD as administrator | |
4. For test type: php -v | |
5. Type setx PATH "%PATH%;C:\xampp\mysql\bin" /m | |
6. For test type: mysql -V |