By George, he got it! Now, how do I use that from PHP? I guess Midgard does store that data in a variable somewhere before accessing the database, right?
Bogdan pp wrote: >>When you access a database you must supply a username and a password. >>They differ from server to server. Midgard knows this information for >>any server it runs on, because it has to use the database. Also, the >>database name differs from server to server and Midgard obviously knows >>in which database the record_extension table is located. My question is: >> > >>does anybody know where Midgard store this information (username, >>password and database) and how can I get to use it? >> > >Oh, I think I understood this :) > >There is special line for host configuration >MidgardDatabase <database> <user> <pass> >So after change user here You must alter user table >in mysql databse. >host is compiled with midgard lib , but newest midgard >let You define it in midgard conf file. > >midgard->user="0" is not stored in midgard database. > >Piotras > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
