looking for help with error 404

Problems with the Windows version of XAMPP, questions, comments, and anything related.

looking for help with error 404

Postby samjpaint » 26. May 2018 15:51

I am trying to link to my database. When I go through my local host I get this message:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.0

My local host is :localhost:10080, and I am using xampp v3.2.2
I have looked for the answer everywhere and nothing works

This is my code to connect to the database.
// Place db host name. Sometimes "localhost" but
// sometimes looks like this: >> ???mysql??.someserver.net
$db_host = "localhost:10080";
// Place the username for the MySQL database here
$db_username = "SJaycox";
// Place the password for the MySQL database here
$db_pass = "uqu4g9cc!";
// Place the name for the MySQL database here
$db_name = "pinkys_pearls";

// Run the actual connection here
mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect to mysql");
mysql_select_db("$db_name") or die ("no database");
Posts: 6
Joined: 26. May 2018 15:32
XAMPP version: v3.2.2
Operating System: windows 10

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests