December 09, 2022, PHPMyAdmin

CHAR vs VARCHAR datatypes in MySQL:

VARCHAR saves space when there is variation in the length of values, but CHAR might be performance-wise better.

December 09, 2022, Laravel Interview

How to point the domain name to a public folder in laravel?

This is a very simple and correct way to do this. Just add the bellow code in the .htaccess file of the root directory of laravel project.

December 09, 2022, Laravel

Access denied for user ‘root’@’localhost’ (using password: YES) in laravel 8

This can be fixed easily by doing the following changes –

December 09, 2022, Laravel

How to override laravel artisan commands?

This is very simple, just create new command with any name and replace the $signation. Just follow the below code to do this –

December 09, 2022, Laravel

Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

This is a very simple fix, you just need to add a database engine for MySQL database in the “config/database.php” file.

December 09, 2022, PHP

Curl not working in localhost

This is a straightforward fix. You have to disable SSL in your curl code. check below code –