This is going to be mind-numbingly ignorant of me to ask, but here goes:
On the form to creat a form, it asks for "Hostname". What do they want here? The name of my website? The name of the hosting company? The URL of either?
Please excuse the naivite of the question. Any help would be appreciated.
Thanks,
Brian and Mathmojo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also have the same question. I have tried all possibilities I could think of. 'Hostname' is the name of the computer which runs the database? That is my web site's computer? Which one - they probably have quite a few.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hostname is the hostname of the database server. This really depends on your configuration of the database server. Mostly, by default, the hostname localhost works if the database server is on the same machine as where your PHP pages are located. Sometimes, people configure the database to have a certain hostname. For example, my personal webserver and database server uses the hostname "rooty" instead of localhost.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is going to be mind-numbingly ignorant of me to ask, but here goes:
On the form to creat a form, it asks for "Hostname". What do they want here? The name of my website? The name of the hosting company? The URL of either?
Please excuse the naivite of the question. Any help would be appreciated.
Thanks,
Brian and Mathmojo
I also have the same question. I have tried all possibilities I could think of. 'Hostname' is the name of the computer which runs the database? That is my web site's computer? Which one - they probably have quite a few.
I see in another post that Musawir Ali said:
"frschof@localhost is not your hostname. Your hostname is localhost , and user username is frschof"
Do I enter "localhost " for hostname? (does it have to have a space after the word?).
Or do I just enter "mysite.com"?
I'll keep trying...
OK, I got it working.
Use 'localhost' - no spaces.
hostname is the hostname of the database server. This really depends on your configuration of the database server. Mostly, by default, the hostname localhost works if the database server is on the same machine as where your PHP pages are located. Sometimes, people configure the database to have a certain hostname. For example, my personal webserver and database server uses the hostname "rooty" instead of localhost.