Category: Web Technologies
Laravel artisan migrate PHP Fatal error: Cannot declare class, because the name is already in use : Solution
Bhavani
- 0
When I was trying to migrate a database in Laravel Project using the ‘php artisan migrate‘, I get the below error: php artisan migrate Migration table created successfully. PHP Fatal error: Cannot declare class CreatePasswordResetsTable, because the name is already in use in F:\Projects\database\migrations\2023_11_28_102415_create_password_resets_table.php on line 7 7 [Symfony\Component\Debug\Exception\FatalErrorException] Cannot declare class CreatePasswordResetsTable, because the…
Read MoreHow to import an SQL file using the command line in MySQL
admin
- 0
When I was working with MySql command prompt, I was wondering how to import an available sql file into the available database. First you need to open the MySql Command prompt. And select the database. Here “smartcart” is the database. Now I select that database using “use” command as below: mysql> use smartcart; Database changed…
Read MoreDirectory Separators Ignored on Inserting into mySQL
I faced a problem while inserting the file path to mysql database. You can also encounter similar problem when you work with Mysql. So thought of adding this info for your information. While inserting a file path to my mysql table, I noticed that the slashes in the path are missed once they added to…
Read MoreParagraph Retrieval from Mysql
admin
- 0
When I was working with one of the website Designing, I noticed a strange problem. May be it’s not a problem. But for a developer it looks like a problem. Many of us can come across such issue. So I thought of penning down the known solution for it. When you store some paragraph of…
Read More