Hi, I wanted to install a script and everything went fine except when the last step I have to give the server's name a gave "server146: and this come out Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'digitalcityhosting' (1) in /home/bakatit/public_html/bakatit_88/includes/connect.php on line 3 No Connection EstablishedUnknown MySQL server host 'digitalcityhosting' (1) I think I accidentally deleted something important but I don't know what. Please help me. Thanks
did you create a mysql db and if so, did you configure the script so it can connect to the mysql db with your username and password?
yes, I have done everything. First create a new DB link it with username and password. I have already managed to get it all right until when I need to go to enter database information. I'll PM you with details..@ URL
I'm not sure I understand what you're trying to say, but here's the thing: there's a file called 'config.php' which you have to set up with your database name, username and password. after you do that, it has to work. IMPORTANT: you have to create a database first. to do that, you must enter in your server's CPANEL and then, CREATE DATABASE, then add to it an username and a password. ONLY after you do that you can configure the script. do you understand ?
The error is very clear: The server name (digitalcityhosting) either isn't responding or doesn't exist. My SQL conf files usually point to localhost (127.0.0.1) on my VPS. I'm not sure how this works with shared hosts.
either You hav specified the wrong name of the server where your mysql database is installed or the name isnt resolving.. try to ping the host 'digitalcityhosting' and see if its reachable, if not contant to ur hosting company and get valid host name.
Ok, thanks everyone. I was sure that I did a mistake earlier cause before this I tried to do something at my root file and deleted some file. Maybe I deleted something important. I know how to install a simple script like this usually so that was why I was surprised I had an error. I am still trying to contact my host but if I'm not mistaken he's away thats why I have all this probs. I was trying to install this simple script at my host cause I wanted to create a site just for my assignment. If anybody wants to volunteer to install this script at their cpanel domain and let me create@rent a website for just a month. I'll give you this "full VIP Site Builder script" for free and also after I have done I will pay him@her via paypal $5 @ optional (I have a pr1 directoryhi.info - I'll give this domain to you for free - age 1 year) Anyone who wants to be helpful please PM me. Or you have a website that you don't want to use and rent to me for just a month I'll pay you $5 @ the domain directoryhi.info. I don't need a specific domain or I can use my own domain its all up to you. Thanks in advance.
We've explained all the possible causes of the error. What's so difficult? Did you make any effort to ping the hostname as daringtakers suggested? If so, and no reply was received, that's obviously not the correct hostname for your SQL database... Why don't you check your other site(s) to see which hostname they're using to connect to SQL?