Fix mariadb SQL command to GRANT ALL PRIVILEGES
This commit is contained in:
		
							parent
							
								
									5fac253485
								
							
						
					
					
						commit
						b38610a9fa
					
				
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							@ -53,7 +53,7 @@ Create database and grant privileges:
 | 
			
		||||
  MariaDB [(none)]> create database mempool;
 | 
			
		||||
  Query OK, 1 row affected (0.00 sec)
 | 
			
		||||
 | 
			
		||||
  MariaDB [(none)]> grant all privileges on mempool.* to 'mempool' identified by 'mempool';
 | 
			
		||||
  MariaDB [(none)]> grant all privileges on mempool.* to 'mempool'@'%' identified by 'mempool';
 | 
			
		||||
  Query OK, 0 rows affected (0.00 sec)
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
@ -62,16 +62,6 @@ From the mempool repo's top-level folder, import the database structure:
 | 
			
		||||
  mysql -u mempool -p mempool < mariadb-structure.sql
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### Troubleshooting
 | 
			
		||||
On Mac, you may need to run the following command if the above gives an error:
 | 
			
		||||
```bash
 | 
			
		||||
MariaDB [(none)]> grant all privileges on mempool.* to 'mempool'@localhost identified by 'mempool';
 | 
			
		||||
```
 | 
			
		||||
followed by:
 | 
			
		||||
```bash
 | 
			
		||||
mariadb -u mempool -pmempool mempool < mariadb-structure.sql
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## Mempool Backend
 | 
			
		||||
Install mempool dependencies from npm and build the backend:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user