Likes Likes:  0
Resultaten 1 tot 3 van de 3
Geen
  1. #1
    Jan Smeelen
    [MySQL] dir voor databases aanpassen
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    [MySQL] dir voor databases aanpassen

    Vraagje,

    Ik heb zojuist een nieuwere PHPDEV versie geinstalleerd,
    voorheen had ik die op schijf D: staan ( op een lokale machine dus )
    Nu heb ik PHPDEV op schijf C: geinstalleerd, echter de
    databases staan nog op schijf D:

    Ik kan natuurlijk de databases naar C: kopiëren, echter
    wil ik die wél op schijf D: behouden.
    Op schijf D: heb ik namelijk alles staan wat betrekking heeft
    op websites, en de instellingen e.d. (en dus ook de databases)

    Hoe kan ik MySQL zo instellen dat MySQL weet
    dat de databases op schijf D: staan, en de eigen
    benodigde files op schijf C:

    Bedankt voor reply !
    Jan Smeelen.

    ps. niet reageren via dit e-mail adres, graag in
    de nieuwsgroep, dit mail adres wordt
    momenteel niet gebruikt, vanwege een
    vloedgolf ( lijkt wel een orkaan vandaag
    van Virussen en spam die erop binnenkomen





  2. #2
    John Bokma
    [MySQL] dir voor databases aanpassen
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: [MySQL] dir voor databases aanpassen

    Jan Smeelen wrote:

    > Vraagje,
    >
    > Ik heb zojuist een nieuwere PHPDEV versie geinstalleerd,
    > voorheen had ik die op schijf D: staan ( op een lokale machine dus )
    > Nu heb ik PHPDEV op schijf C: geinstalleerd, echter de
    > databases staan nog op schijf D:
    >
    > Ik kan natuurlijk de databases naar C: kopiëren, echter
    > wil ik die wél op schijf D: behouden.
    > Op schijf D: heb ik namelijk alles staan wat betrekking heeft
    > op websites, en de instellingen e.d. (en dus ook de databases)
    >
    > Hoe kan ik MySQL zo instellen dat MySQL weet
    > dat de databases op schijf D: staan, en de eigen
    > benodigde files op schijf C:


    "
    On Windows, the MySQL installer places the data directory directly under
    the directory where you install MySQL. If you would like to use a data
    directory in a different location, you should copy the entire contents
    of the `data' directory to the new location. For example, the default
    installation places MySQL in `C:\mysql' and the data directory in
    `C:\mysql\data'. If you want to use a data directory of `E:\mydata', you
    must copy `C:\mysql\data' there. You will also need to use a --datadir
    option to specify the location of the new data directory.

    Normally you can use the WinMySQLAdmin tool to edit the option file
    `my.ini'. In this case you don't have to worry about the following
    discussion.

    There are two option files with the same function: `C:\my.cnf', and the
    `my.ini' file in the Windows directory. (This directory typically is
    named something like `C:\WINDOWS' or `C:\WinNT'. You can determine its
    exact location from the value of the WINDIR environment variable.) MySQL
    looks first for the `my.ini' file, then for the `my.cnf' file. However,
    to avoid confusion, it's best if you use only one of these files. Both
    files are plain text.
    "
    <http://www.mysql.com/documentation/m...tml#Installing>

    RTFM as usual.

    --
    Kind regards, virtual home: http://johnbokma.com/ ICQ: 218175426
    web site hints: http://johnbokma.com/websitedesign/
    John I count my toes ~ one to ten ~ I meditate ~ and feel the Zen



  3. #3
    Jan Smeelen
    [MySQL] dir voor databases aanpassen
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: [MySQL] dir voor databases aanpassen


    "John Bokma" <postmaster@castleamber.com> schreef in bericht
    news:1064021502.4183@halkan.kabelfoon.nl...
    > Jan Smeelen wrote:
    >
    > > Vraagje,

    >knip vraag over andere dir voor MySQL databases (lokaal ) <


    > knip uitgebreide reply afkomstig van url : <


    >

    <http://www.mysql.com/documentation/m...talling.html#I
    nstalling>
    >
    > RTFM as usual.


    Uiteraard heb ik eerst gezocht op www.mysql.com !
    echter kon wel base dir vinden, maar niet datadir..

    Ik heb gezocht op "data dir setup" maar dan krijg
    je een hele waslijst, en de links op de eerste pagina
    kon ik dat niet terug vinden.

    Bovendien staat die ook niet vermeld, in de
    my-example.cnf file, die ook die in die mysql dir staat

    Maar goed dat de nachtploeg weer present was ! ;o)

    bedank John !

    Groeten,
    Jan.








Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics