Комментарии:
Nice music .
ОтветитьExcellent. Thank you!
ОтветитьThank you, you helped me
Ответитьgetting this warning
Warning: mysqli_connect(): (HY000/1049): Unknown database 'train' in /opt/lampp/htdocs/connect.php on line 6
Error Connecting
after going to connect.php file with editor mode in 6th line what the details we have to provide?
$connect = mysqli_connect($hostname , $username , $password ,$dbname) or die("Error Connecting");
Try changing the database name.This error occur when many people are using the same name on MYPHPADMIN.Use a unique name.
DONT NAME DATABASE THIS WAY: food-order
NAME IT THIS WAY: food_order
Thank me later.
Hey! Both my names in "connection" file and PHPMyAdmin are the same. But I'm still facing the same issue. HELP
ОтветитьWarning: mysqli_connect(): (HY000/1049): Unknown database 'polltest' in C:\xampp\htdocs\voting\connection.php on line 2
ОтветитьWell this is if you dont have that database but I do have and I still get same error and for all others just dont get error for one database from project before. I dont know why
Ответитьthanks dude
ОтветитьHlo i am getting the same error plss help me...
Pls
lel i entered wrong name
Ответитьi am your 100th subscriber. :)😘
ОтветитьYou are such a life saver man. thanks
ОтветитьI still got an error message about UNKOWN DATABASE. This is how I fixed it....
Remove $db from the $conn line and hit save. My database was immediately connected.
Check my.ini file of mysql and verify port number. Im most of the cases it runs on 3306 however if it is running on 3308 then edit your connection file:
$conn = mysqli_connect($server_name, $mysql_username, $mysql_password, $db_name, "3308");
Спасибо огромное! После этого видео я решила переехать в Пакистан, видимо только тут способны помочь сделать лабы!!!!
Ответитьque pasa si me hace esto con una base de datos que si existe?
ОтветитьPlz share hospital management system project using php
Ответитьwhat is ruff
ОтветитьThank Youvery very much this thing is really helping
ОтветитьIf anyone still getting error then try to create db in MariaDB once and then try. It resolve my error as it check db in MariaDB instead of MySql
ОтветитьI'm having this problem almost 3 weeks can't fix till now.. 😭
Ответитьmy database name is right but it keeps saying Y000/1049): Unknown database 'pendaftaran' in C:\wamp64\www\pendaftaran\server.php on linY000/1049): Unknown database 'pendaftaran' in C:\wamp64\www\pendaftaran\server.php on line 7
Ответитьthanks vi
ОтветитьI'm still having the same problem after doing this. Ive double checked it already. I'm using the same db name and unknown database is still there
ОтветитьI don't see how this is helpful. You just created the database and error showed up because you didn't have it earlier. What about when this error is showing up even after i've created the database and checked it seperately using cmd too?
ОтветитьThis is amazing u saved my life
Ответитьthank you
Ответитьthat is actually working, I was actually stuck in that and I was about to quit programming due to it. u helped me thank u !!
Ответить