i installed
1. MySQL 3.23---Production release(recommende),
2. Windows 95/98/NT/2000/XP 3.23.55 13.co3M,
3. Windows Source(zip) 3.23.55 13.2M
4. Control Center,
in my PC.
I created a testDB from Control Center, Added it and message shows as 'Connection
added successfully' but
its property profile shows;
Connected: No, Host name:local host, user name:root....,
Why Connected is No instead of Yes in :profile? Is it really connected?
>>>>>>>>>>Question 1.
------------------
I then coded in Notepad to connect the testDB ;
<HTML>
<HEAD>
<TITLE>Creating a testDB</TITLE>
<BODY>
<?php
//Set the variables for the database access:
$Host = "localhost";
$User = "root";
$Password = "";
$DBName = "testDB";
$Link = mysql_connect ($host, $user, $password);
if (mysql_create_db ($DBName, $Link))
{print ("sucess<BR>\n");}
else
{print ("no success<BR>\n");}>>>>>>>>>>>>>>>>>>>>I got this. Question 2.
mysql_close ($Link);
?>
</BODY>
</HTML>
-------------
I was unable o connect to testDB. I got 'no success'. why am I unable to connect?
Please asnwer question 1 and 2.
Thanks.
ITA Network Management
Phone: (213) 485-0125
E-mail: [EMAIL PROTECTED]
ITA Network Management
Phone: (213) 485-0125
E-mail: [EMAIL PROTECTED]
>>> Victor Rivera <[EMAIL PROTECTED]> 02/27/03 03:32PM >>>
Perfect, is it a dedicated server or do you share?
Victor Rivera
Rackspace Managed Hosting
800.961.2888 ext 1428
>> we have a test server and apache.
>> ITA Network Management
>> Phone: (213) 485-0125
>> E-mail: [EMAIL PROTECTED]
>> >>> "[EMAIL PROTECTED], [EMAIL PROTECTED]," <[EMAIL PROTECTED]>
>> 02/27/03 12:09PM >>>
>> Do you need a dedicated server?
>> Victor Rivera
>> Rackspace Managed Hosting
>> Account Manager- Team C
>> 800.961.2888 ext. 1428
>> >> Package : 2-tier
>> >> Budget : 200
>> >> First Name: Fran
>> >> Last Name : Kobayashi
>> >> Company :
>> >> Phone : 213.485.0125
>> >> Email : [EMAIL PROTECTED]
>> >> Comments:
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php