Difference between revisions of "IMAGEBROWSER"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
'''Create a database, for example imagebrowser.''' | '''Create a database, for example imagebrowser.''' | ||
'''Use collation utf8mb4_unicode_ci.''' | '''Use collation utf8mb4_unicode_ci.''' | ||
'''Import:''' | '''Import:''' | ||
database/schema.sql | |||
4. Create MySQL User | |||
'''You can do this in phpMyAdmin, or with MySQL CLI:''' | |||
<pre> | <pre> | ||
CREATE USER 'imagebrowser_user'@'localhost' IDENTIFIED BY 'your-strong-password'; | |||
GRANT ALL PRIVILEGES ON imagebrowser.* TO 'imagebrowser_user'@'localhost'; | |||
FLUSH PRIVILEGES; | |||
</pre> | </pre> | ||
Revision as of 16:21, 29 May 2026
Server Setup
1. upload contents to web folder
Even if PHP is already installed, confirm MySQL and GD support:
sudo apt update sudo apt install php-mysql php-gd exiftool php -v php -m | grep -E 'pdo_mysql|gd'
Create Database
In phpMyAdmin:
Create a database, for example imagebrowser.
Use collation utf8mb4_unicode_ci.
Import:
database/schema.sql
4. Create MySQL User
You can do this in phpMyAdmin, or with MySQL CLI:
CREATE USER 'imagebrowser_user'@'localhost' IDENTIFIED BY 'your-strong-password'; GRANT ALL PRIVILEGES ON imagebrowser.* TO 'imagebrowser_user'@'localhost'; FLUSH PRIVILEGES;