MySQL Lists are EOL. Please join:

List:MySQL++« Previous MessageNext Message »
From:Specter Phoenix Date:November 17 2008 11:54pm
Subject:Re: Late Confusion
View as plain text  
Thanks, you gave a simple and straight forward answer but it doesn't 
help me, as all the docs show passing the arguments by commandline. I 
want to hard code it so that the database, password, user, and server 
are all in the code and not needing supplied. Looking at the source and 
such doesn't tell me how the code should look at all. But thanks for the 
help you offered.


Clayton Weaver

Drew M. wrote:
> Hi,
> The parameters are passed to your Connection object as arguments in the
> constructor or the connect() method.
> If you look at example simple1 you can see a pretty good example to emulate.
> You can also check out the online documentation if you need more details:
> On Thu, Oct 30, 2008 at 1:42 AM, Specter Phoenix
> <specter@stripped>wrote:
>> To Whom It May Concern:
>>   It is 3:45 am and I've been up since 7am or so this morning, yep near 24
>> hours. I've been programming with winsock to open sockets to different
>> things just to practice. Now I've been looking over the examples of the
>> mysql++ library and noticed that they require commandline prompts of user,
>> pass, host. I'm so tired and almost comatose from lack of sleep that I can't
>> think straight, but what would the code look like if I wanted to hard code
>> the connection to a database in the code so that they end user (who may not
>> have the information). For example, lets say the host is (174.304.34.22)
>> user is venus and password is flyguy what would my code be for that? I'm so
>> tired I fell asleep typing this email on several occassions. I'd appreciate
>> any help anyone can give me.
>> Sincerely,
>> Clayton Weaver
>> --
>> MySQL++ Mailing List
>> For list archives:
>> To unsubscribe:

Late ConfusionSpecter Phoenix30 Oct
  • Re: Late ConfusionDrew M.30 Oct
    • Re: Late ConfusionSpecter Phoenix18 Nov
      • Re: Late Confusiondevlin18 Nov
        • Re: Late ConfusionSpecter Phoenix18 Nov