eric:computer:dotproject:dotproject.installation
DotProject Installation
Installation Notes for dotProject
- Installing dotProject requires a MySQL user and an existing (empty) database named “dotproject”.
- The default username is admin with password passwd
Useful MySQL Commands for dotProject
- mysql -u root -p
- show grants; (lists users)
- show databases; (lists databases)
- To set password: update user set password=password(‘new_password’) where user=‘root’; flush privileges;
- grant all privileges on db.* to david@‘192.58.197.0/255.255.255.0’;
- To add new users: grant all priviliges on . to monty@localhost identified by ‘some_password’ with grant option;
- To create a database: create database db_name;
- To use a database: use db_name;
- To import a mysqldump sql file: mysql -u root -p db_name < mysqldump.sql_file
- To show contents of a table: select * from table_name
Update August, 2020
- CREATE DATABASE db_name;
- CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; Example: create user 'dp_user'@'localhost' identified by 'thepassword';
- GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost'; Example: grant all privileges on 'dotproject'.* to 'dp_user'@'localhost';
- FLUSH PRIVILEGES; (makes new privileges active)
eric/computer/dotproject/dotproject.installation.txt · Last modified: by admin
