Comments (3)
Hope this help anybody.
from homestead.
I also get this error using Sequel Pro and MySQL Workbench, seems it isn't possible to "tunnel in".
But when I connect normally, using port 33060, neither the root or homestead users have the "GRANT" privilege, so I can't create other users using those accounts.
Frustrating.
from homestead.
SSH into the VM
ssh [email protected] -p 2222
Login to MySQL, the password is secret
mysql -u root -p
Setup the root
user to have GRANT privileges from anywhere.
GRANT GRANT OPTION ON *.* TO root@'%' IDENTIFIED BY 'secret';
GRANT ALL ON *.* TO root@'%' IDENTIFIED BY 'secret';
GRANT SUPER ON *.* TO root@'%' IDENTIFIED BY 'secret';
Remove the alternative root
users.
DROP USER 'root'@'10.0.2.2';
DROP USER 'root'@'homestead';
DROP USER 'root'@'localhost';
DROP USER 'root'@'127.0.0.1';
DROP USER 'root'@'::1';
Setup the homestead
user to have GRANT
privileges from anywhere.
GRANT GRANT OPTION ON *.* TO homestead@'%' IDENTIFIED BY 'secret';
GRANT ALL ON *.* TO homestead@'%' IDENTIFIED BY 'secret';
GRANT SUPER ON *.* TO homestead@'%' IDENTIFIED BY 'secret';
Remove the alternative homestead
users.
DROP USER 'homestead'@'10.0.2.2';
Now flush the privileges.
FLUSH PRIVILEGES;
from homestead.
Related Issues (20)
- [SUGGESTION] Utilise new Vagrant Box Architecture for ARM64 support HOT 1
- Problems running two separate Homestead environments on apple silicon + vagrant-parallels HOT 2
- Homestead Box Settler v13.0.0 can't be detected/found by Vagrant Box Add or Update HOT 19
- Homestead box can't add v13.0.0 in Vagrant (v2.4.0) HOT 6
- Is it time to jump to 22.04? HOT 20
- There is no InfluxDB v2.x HOT 4
- Can't finish provision after pull latest version HOT 5
- Cannot install new Homestead box on windows 11 Pro HOT 2
- Creating databases for influxdb was not updated, thus failing provision execution HOT 3
- NGINX not the right permissions for creating SSL certificates.
- Constraint Issues with laravel/homestead HOT 12
- Uninstalled packages in php8.3.sh file HOT 1
- Vagrant up hangs HOT 17
- Version constraint error HOT 10
- Incompatible configuration requested HOT 1
- Problem installing using composer due to symfony/yaml dependency HOT 3
- vagrant provision crashes in the middle of many Sites (vhosts) because Apache can't bind to port 80
- PHP 8.2 FPM not starting at boot in Homestead v15 HOT 2
- I got this bug while executing MAKE command: HOT 1
- vagrant nginx site config can not create
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homestead.