Hi,
I am trying to access my database with a php page but I need the host/server name, which in my "Database credentials" says is "localhost". What is the real host/server name?
thanks
 Database conection
 Database conection
		Hi,
I am trying to access my database with a php page but I need the host/server name, which in my "Database credentials" says is "localhost". What is the real host/server name?
thanks
 Administrator
					
					
						Administrator
					
					
                                        
					
					
						 
 
		You can even leave blank that field, otherwise localhost is ok
 
 
		I am creating a php page to conect to my database and the command for the host can not be "localhost" because the it thinks it is my computer
 
 
		If your script is running on a Altervista server then "localhost" is that server.
If you're trying to connect to your database from a script running on your PC, well, that's not possible because the server will reject the connection.
"Over thinking, over analyzing separates the body from the mind."