I was using a Laravel Homestead setup, but with a new Mac and Apple processors, Virtualbox got some issues, Herd is a good way to have a development setup without Homestead, thank you :)
i keep getting this error SQLSTATE[HY000] [2002] (trying to connect via (null)) (SQL: select * from information_schema.tables where table_schema = breezelaravel and table_name = migrations and table_type = 'BASE TABLE') and i need help
"(trying to connect via (null))" - the "null" part suggests that the database connection configuration might be missing or incorrect. Ensure that your Laravel application's database configuration is correctly set up. You can find the database configuration in the config/database.php file or the .env file. Verify the following settings: DB_CONNECTION: Make sure it's set to mysql if you are using MySQL. DB_HOST: Verify that this is set to the correct database host (usually 127.0.0.1 or localhost for a local database). DB_PORT: Ensure that it's set to the correct MySQL port (usually 3306 by default). DB_DATABASE: Make sure it's set to the name of your database (in your case, "breezelaravel"). DB_USERNAME and DB_PASSWORD: Verify that these credentials are correct.
Here's a quick summary: 1. Download phpmyadmin from www.phpmyadmin.net 2. Rename the downloaded folder to `phpmyadmin` and move it to your Herd sites directory (~/Herd) 3. In the `phpmyadmin` folder create a duplicate of the file `config.sample.inc.php` and name it `config.inc.php`. 4. Within `config.inc.php`, update these settings: a. Change $cfg['Servers'][$i]['AllowNoPassword'] to true b. Change $cfg['Servers'][$i]['host'] to 127.0.0.1 5. Load phpmyadmin via the URL Herd should generate which is phpmyadmin.test 5. Log in with the username "root"; leave the password blank. If I put together a video on this process, I'll update this comment when it's posted. Note that as an alternative to phpmyadmin, you can use TablePlus which comes with DBngin. To access it, click the arrow next to your database in DBngin and find the option to "Open in TablePlus". I find the interface/user experience of TablePlus to be a lot nicer than phpmyadmin, but either gets the job done.
when i am creating project using herd i get this error 1. Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0 Creating a "laravel/laravel" project at "./example3" 2. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini it is still installing it but takes long then i cannot use example3.test and have use php artisan
Currently migrating my projects from Xampp to Herd, your video has been helpful.
Thank you Susan, really helpful
I was using a Laravel Homestead setup, but with a new Mac and Apple processors, Virtualbox got some issues, Herd is a good way to have a development setup without Homestead, thank you :)
It's definitely faster and less resource intensive! Thanks for watching.
Very nice. Weldone
Thanks susan, very useful
i keep getting this error SQLSTATE[HY000] [2002] (trying to connect via (null)) (SQL: select * from information_schema.tables where table_schema = breezelaravel and table_name = migrations and table_type = 'BASE TABLE') and i need help
"(trying to connect via (null))" - the "null" part suggests that the database connection configuration might be missing or incorrect.
Ensure that your Laravel application's database configuration is correctly set up. You can find the database configuration in the config/database.php file or the .env file. Verify the following settings:
DB_CONNECTION: Make sure it's set to mysql if you are using MySQL.
DB_HOST: Verify that this is set to the correct database host (usually 127.0.0.1 or localhost for a local database).
DB_PORT: Ensure that it's set to the correct MySQL port (usually 3306 by default).
DB_DATABASE: Make sure it's set to the name of your database (in your case, "breezelaravel").
DB_USERNAME and DB_PASSWORD: Verify that these credentials are correct.
can you please guide us on how to open phpmyadmin from browser for DGngin?
Here's a quick summary:
1. Download phpmyadmin from www.phpmyadmin.net
2. Rename the downloaded folder to `phpmyadmin` and move it to your Herd sites directory (~/Herd)
3. In the `phpmyadmin` folder create a duplicate of the file `config.sample.inc.php` and name it `config.inc.php`.
4. Within `config.inc.php`, update these settings:
a. Change $cfg['Servers'][$i]['AllowNoPassword'] to true
b. Change $cfg['Servers'][$i]['host'] to 127.0.0.1
5. Load phpmyadmin via the URL Herd should generate which is phpmyadmin.test
5. Log in with the username "root"; leave the password blank.
If I put together a video on this process, I'll update this comment when it's posted.
Note that as an alternative to phpmyadmin, you can use TablePlus which comes with DBngin. To access it, click the arrow next to your database in DBngin and find the option to "Open in TablePlus".
I find the interface/user experience of TablePlus to be a lot nicer than phpmyadmin, but either gets the job done.
good stuff
when i am creating project using herd i get this error
1.
Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: C:\xampp\php\ext\zip (The specified module could not be found), C:\xampp\php\ext\php_zip.dll (The specified module could not be found)) in Unknown on line 0
Creating a "laravel/laravel" project at "./example3"
2. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
it is still installing it but takes long then i cannot use example3.test and have use php artisan
Subscribed