Click here to Skip to main content
15,792,423 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
This is the error that's popping

Fatal error: Uncaught mysqli_sql_exception: Unknown database 'shop_db' in C:\xampp\htdocs\honey-ecommarceshop\ecommarceshop\connection.php:2 Stack trace: #0 C:\xampp\htdocs\honey-ecommarceshop\ecommarceshop\connection.php(2): mysqli_connect('localhost', 'root', Object(SensitiveParameterValue), 'shop_db') #1 C:\xampp\htdocs\honey-ecommarceshop\ecommarceshop\index.php(2): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\honey-ecommarceshop\ecommarceshop\connection.php on line 2

What I have tried:

i dont know how to solve it.. im still inexperience in line of coding
Updated 7-Jul-23 15:41pm
Patrice T 8-Jul-23 9:44am    
You may ask to seller's support service.

1 solution

You're going to have to contact the people you bought this thing from. You don't have a database.

It's pretty obvious what this error means:
Unknown database 'shop_db'
Share this answer
Andre Oosthuizen 8-Jul-23 7:47am    
What a brain racking exercise :), +5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900