How to Fix "Warning: mysqli_connect(): (HY000/1049): Unknown database 'ruff' "

16
2



Warning: mysqli_connect(): (HY000/1049): Unknown database ‘ruff’ in C:xampphtdocsAllabc.php on line 22
Connection failed: Unknown database ‘ruff’

––––––––––––––––––––––––––––––
Moving On by MBB, Jonas Schmidt
Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0
Free Download / Stream:
Music promoted by Audio Library
––––––––––––––––––––––––––––––

🎵 Track Info:

Title: Moving On (Instrumental) by MBB & Jonas Schmidt
Genre and Mood: Dance & Electronic + Happy

———

🎧 Available on:

Spotify:
iTunes:
YouTube:
SoundCloud:

———

Nguồn: https://saesrpg.net/

Xem thêm bài viết khác: https://saesrpg.net/giai-tri/

16 comments

  1. Gurtej Tiwana 10 July, 2020 at 05:55 Reply

    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.

  2. Ishita Shah 10 July, 2020 at 05:55 Reply

    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");

  3. Zolotaya Orda 10 July, 2020 at 05:55 Reply

    Спасибо огромное! После этого видео я решила переехать в Пакистан, видимо только тут способны помочь сделать лабы!!!!

  4. Deep Gandhi 10 July, 2020 at 05:55 Reply

    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

  5. ____ Hïqãľ 10 July, 2020 at 05:55 Reply

    my database name is right but it keeps saying Y000/1049): Unknown database 'pendaftaran' in C:wamp64wwwpendaftaranserver.php on linY000/1049): Unknown database 'pendaftaran' in C:wamp64wwwpendaftaranserver.php on line 7

  6. z Z 10 July, 2020 at 05:55 Reply

    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

  7. Aayush Raina 10 July, 2020 at 05:55 Reply

    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?

  8. Abdullah Abuaziz 10 July, 2020 at 05:55 Reply

    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 !!

Leave a reply