Posted by MS on 06/08/05 16:41
> >> You use the userID and password of a user that is already created on
the
> >> system.
> >>
> >> If this is being installed on someone else's system, then you need to
> >> provide some way for them to enter that information. You could do it
like
> >> PHPMyAdmin - where the end-user modifies a configuration file and
enters
> > the
> >> info, or you could make a form that accepts the information and passes
it
> > to
> >> the installation script.
> >
> > It will be a new installation on somebody else's server, therefore I
just
> > need to be pointed in the direction of the php command(s) to setup the
> > user.
>
> I think you're missing the question - you seem to be overcomplicating
> things.
LOL... Its the story of my life....
> If someone else has a server with MySQL on it already, they will also have
a
> userID and password for that MySQL server. All you need to do is get that
> information from them and use that information to connect to the database.
I am only going by what I have to do when setting up a new database.
1 goto Cpanel > Mysql Databases
2 Create a new database
3 create a user for that database incl password
4 then its on to PHPMyAdmin to create tables etc..
If i dont do steps 1 to 3 i can not connect to the database via php.
even if i only do steps 1 and 2 i can not connect.
I'm sure i must be missing something somewhere, but im not sure what or
where.
[Back to original message]
|