Re: MySQL file in the same directory with php files Mikhail Kovalev <mikhail_kovalev@mail.ru> wrote in
news:b9f8a8b6-e311-4ba7-83f6-4507bb0ba233@s8g2000prg.googlegroups.com:
> On 6 Des, 19:40, Good Man <he...@letsgo.com> wrote:
>> Mikhail Kovalev <mikhail_kova...@mail.ru> wrote in
>> news:870b74db-8fd1-48e3-
>> a353-67f7ab270...@w34g2000hsg.googlegroups.com:
>>
>> > Is it possible without changing default directory in config files?
>> > This is for an offline project.
>>
>> > Thanks.
>>
>> What exactly is a MySQL file? I'm not sure it's clear what you want
>> to do...
>
> I want everything contained in one directory, scripts & the database,
> to be able to move it to another machine as one directory, or at least
> share the database as a file.
>
MySQL is database software; if you're going to move things between
machines, you need each machine to have MySQL installed. Not only that,
but you'll have to dump and restore the database contents each time.
Maybe you should set up MySQL on a server that will always be online...
then your scripts can just connect to the server and use/share the data. |