I got a little confusion about mysql and php
| From: | Raheel Hussain | Date: | Sat, 07 Sep 2002 12:18:27 +0000 |
| Subject: | I got a little confusion about mysql and php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15696@lists.php.net to get a copy of this message | ||
hi,
I m a newbie programmer and has just started working on php, i m not actually having much problem in
it as because i have backgroud of C/C++ and vb and ASP and Pascal etc.
I have a little confusion , may be it is gonna be a cheap question the question is as follows
1 - I have a mysql database on my local server on which i m trying php scripts.
now i m gonna upload this site,
I found out a function of mysql through which i m going to create the
mysql db on the sever with phpscripts
which is ( mysql_create_db() )
but i want to write my scripts as follows
if ( database doesn't exists )
create db;
2 - and the other thing which is actually about mysql, which is how do i set different database
passwords to different database.
as because in my server ( win 2000 ) there is only one password which i use when using
mysql_connect() fucntion
---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes