Don't know if this is correct;
Well it's talking about your MSSQL Login: "sa"
Make sure that your host is your MSSQL address of your database
Ex:
$host: <My Computer Name>\SQLEXPRESS
Printable View
Don't know if this is correct;
Well it's talking about your MSSQL Login: "sa"
Make sure that your host is your MSSQL address of your database
Ex:
$host: <My Computer Name>\SQLEXPRESS
ok i try to put \sqlexpress
---------- Post added at 04:47 AM ---------- Previous post was at 04:41 AM ----------
i got same errors,, i dont know why,, please help me...
what is your computer name?
For example, my computer name is ANKU-PC
This is my host:
How to know yours?Code:$_CONFIG['host'] = "TOPSECRET-PC\SQLEXPRESS";
http://i.imgur.com/0oBvR.png
http://i.imgur.com/fGknY.png
EDIT: OHMYGOD,
You typed
It should beCode:$_CONFIG['host'] = "mysql;
Code:$_CONFIG['host'] = "PCNAME\SQLEXPRESS";
Soft and good-looking website, i like it. Thanks.
$_CONFIG['host'] = "RAINOPC\SQLEXPRESS";
but same error i dont know why?
Go to your system via Control Panel and look for your computer name.
yeahh my pc name is RAINOPC
Don't follow Jirachi's information, no offense, Jirachi. It's just he doesn't realize that the host isn't always the PC name. I just didn't feel like correcting him since the thread was getting dead.
Log to MSSQL using windows autentification, create a query and execute thisthat will give you the host name.Code:SELECT HOST_NAME() AS HostName
In some strange cases you don't need to put "\SQLEXPRESS" so try it ._., also be sure your SA user is active.
I've read the replies, atleast i understood, he's still having connection problems from web to mssql and probably he's hostname is bad, just saying because i had that problem before with MSSQL 2k8. If i'm wrong then all i can say is sry :/.
I use this settings but same error $_CONFIG['host'] = "RAINOPC\SQLEXPRESS";
I use this settings but still same error $_CONFIG['host'] = "RAINOPC";
grrr i dont know how to fix this..
my error is
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\AppServ\www\gunzwebsite\includes\class_config.php on line 10