reflex84 Posted March 9, 2011 Share Posted March 9, 2011 Hi Forum,I need to install a php script to my website, but the company that I bought the script from needs the following to install the script properly:MySQL hostname:MySQL database name:MySQL username:MySQL password:Now, I went onto mySQL and created a schemata. Is the name of the Schemate the Database name?What would my Hostname be? localhost? See my server is overseas so it wouldn't be localhost would it?Is the Hostname the same as the network name?Thanks .... just need clearing up Link to comment Share on other sites More sharing options...
justsomeguy Posted March 9, 2011 Share Posted March 9, 2011 The schema name is probably the database name. If the script is going to be hosted on your server, then you can use localhost as the host name. Otherwise, if it is a remote script, use the domain name that you use to access the server. Link to comment Share on other sites More sharing options...
reflex84 Posted March 9, 2011 Author Share Posted March 9, 2011 I've uploaded the PHP script from my local folder to the remote folder under the domain name that I will publish the site to. Otherwise, if it is a remote script, use the domain name that you use to access the server.Are you talking about the servers domain name?Like when I connect a website's FTP ... theres a code you obviously put in which includes a domain name. like for most of my sites itsftp.hosting24hrs.com Is this domain name hosting24hrs.com what I should use for the Hostname? Link to comment Share on other sites More sharing options...
reflex84 Posted March 9, 2011 Author Share Posted March 9, 2011 I've done a lot of research and I see a lot of peoples SERVER HOST is:127.0.0.1Why is this? Link to comment Share on other sites More sharing options...
justsomeguy Posted March 9, 2011 Share Posted March 9, 2011 If you're putting the script on the database server then just use localhost as the name. Localhost and 127.0.0.1 always point to the local computer. If that doesn't work, contact your host and ask them what hostname you should use to connect to MySQL. Link to comment Share on other sites More sharing options...
reflex84 Posted March 9, 2011 Author Share Posted March 9, 2011 Alright, I think I understand better now!!When I log onto my server and click on MySQL Administrator ... a window pops up asking to connect mysql server instance and the server host is set to 127.0.0.1 ..... which means that I must use either 127.0.0.1 or LOCALHOST ? Link to comment Share on other sites More sharing options...
reflex84 Posted March 9, 2011 Author Share Posted March 9, 2011 PS: sorry if i ask stupid questions ... I am very new to databases and servers! Link to comment Share on other sites More sharing options...
[dx] Posted March 9, 2011 Share Posted March 9, 2011 It's same, just 127.0.0.1 is digital way of localhost. For example: You can access to W3Schools with www.w3schools.com or http://216.128.29.26 Link to comment Share on other sites More sharing options...
reflex84 Posted March 9, 2011 Author Share Posted March 9, 2011 Thanks man ... well I'm learning slowly but surely! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.