![]() |
MySQL on a Windows 2003 dedicated server
I bought a dedicated server and installed MySQL
1. 3306 port is open 2. Remote administration in allowed Now I wanna create a user to access a database in my server I created a user like this Code:
mysql> CREATE USER 'temp'@'localhost' IDENTIFIED BY 'some_pass';information using php to connect I need details of the server ? PHP Code:
without a proper host name ! I tried to give my dedicated server IP but no use it din work !? can any 1 advice me on how to configure ? |
Re: MySQL on a Windows 2003 dedicated server
sorry I couldn't edit this post
another question ? therer are two IP's in the server 1. dedicated server IP 2. client IP which 1 I should use ? |
Re: MySQL on a Windows 2003 dedicated server
Your host should be the IP address of your PC where MySQL server is installed.
If you are connecting only through local network your local ip or else your global static IP |
Re: MySQL on a Windows 2003 dedicated server
Quote:
|
Re: MySQL on a Windows 2003 dedicated server
1 Attachment(s)
also there are too many IP's !! how I am going to find out which IP is global ? any suggestions ?
|
Re: MySQL on a Windows 2003 dedicated server
What is your PC name and you can use the name of your PC as well to connect if you are just connecting in LAN
|
Re: MySQL on a Windows 2003 dedicated server
Quote:
|
Re: MySQL on a Windows 2003 dedicated server
Then you need to have a static IP for the machine which your ISP can tell you.
|
Re: MySQL on a Windows 2003 dedicated server
thx shaab... I figured out there were two IP's one finishes like this xxx.xxx.xxx.xx2 next xxx.xxx.xxx.xx3
I tried with the xxx.xxx.xxx.xx2 din work but later after seeing the ipconfig I used the second 1 xxx.xxx.xxx.xx3 it worked 4 me any way thx for helping ! shab BTW some hosting providers give host names like sb.hostingserver.com how they map to the db server ? is it a DNS ? |
| All times are GMT +5.5. The time now is 14:22. |