|
Posted by spamguy21 on 04/24/07 13:38
On Apr 24, 4:09 am, "TMM" <T...@dont.mail.me> wrote:
> On Mon, 23 Apr 2007 20:57:45 -0700, spamguy21 wrote:
> > I have a server with Windows 2000, PHP 5, IIS and SQL Server 2000
> > running. Individually, each works great. When trying to bring PHP and
>
> ...
>
> > <?php
> > $server = "localhost"; // have also tried "[servername]", "localhost:
> > 1433" and "[servername]:1433"
>
> I've tried to run mssql express like this and that connection failed until
> I entered the correct "path" (I'm really unsure here, what to call it) to
> the server. I also never got use for the port, when I did this:
>
> $config['Database']['server'] = 'HOST\SQLEXPRESS';
>
> After this, the connection worked all fine, except for the user-rights I
> had to fix first.
IP address? URL? I've tried those, too, using both local and wired
IPs, plus $server = "[servername].case.edu" or "[servername].case.edu:
1433".
As for your $config string, I'm not sure what you're using $config
for. I've heard $server = "[servername]/SQL_INSTANCE" sometimes works,
but dunno what SQL_INSTANCE would be for me in this context.
Navigation:
[Reply to this message]
|