EasyPHP-Devserver 17: impossible to change MYSQL Data directory?










0















I use easyPHP-DevServer 17 with mysql5.717, php 7.13 und phpmyadmin4.70 (it was like this in a bundle) under windows 10.
Since two days I try to configure EasyPHPDevserver as I would like to have it.
I want to store data on the data partition of my computer not on the system partition C: I stopped all servers and the application EasyPHP-DevServer. I changed the data directory in the file mysql.ini, in the my-default.ini and the my.ini-bak file.
If I run the application there is once again the old path in the ini-file and I get only the data base of the old data base source not of the new data base. I searched in the registry whithout finding any registry entry giving the data directory. How does it know the old directory?
Why doesn't it change?



Can anybody help me?



Thanks



Thommy7571










share|improve this question


























    0















    I use easyPHP-DevServer 17 with mysql5.717, php 7.13 und phpmyadmin4.70 (it was like this in a bundle) under windows 10.
    Since two days I try to configure EasyPHPDevserver as I would like to have it.
    I want to store data on the data partition of my computer not on the system partition C: I stopped all servers and the application EasyPHP-DevServer. I changed the data directory in the file mysql.ini, in the my-default.ini and the my.ini-bak file.
    If I run the application there is once again the old path in the ini-file and I get only the data base of the old data base source not of the new data base. I searched in the registry whithout finding any registry entry giving the data directory. How does it know the old directory?
    Why doesn't it change?



    Can anybody help me?



    Thanks



    Thommy7571










    share|improve this question
























      0












      0








      0








      I use easyPHP-DevServer 17 with mysql5.717, php 7.13 und phpmyadmin4.70 (it was like this in a bundle) under windows 10.
      Since two days I try to configure EasyPHPDevserver as I would like to have it.
      I want to store data on the data partition of my computer not on the system partition C: I stopped all servers and the application EasyPHP-DevServer. I changed the data directory in the file mysql.ini, in the my-default.ini and the my.ini-bak file.
      If I run the application there is once again the old path in the ini-file and I get only the data base of the old data base source not of the new data base. I searched in the registry whithout finding any registry entry giving the data directory. How does it know the old directory?
      Why doesn't it change?



      Can anybody help me?



      Thanks



      Thommy7571










      share|improve this question














      I use easyPHP-DevServer 17 with mysql5.717, php 7.13 und phpmyadmin4.70 (it was like this in a bundle) under windows 10.
      Since two days I try to configure EasyPHPDevserver as I would like to have it.
      I want to store data on the data partition of my computer not on the system partition C: I stopped all servers and the application EasyPHP-DevServer. I changed the data directory in the file mysql.ini, in the my-default.ini and the my.ini-bak file.
      If I run the application there is once again the old path in the ini-file and I get only the data base of the old data base source not of the new data base. I searched in the registry whithout finding any registry entry giving the data directory. How does it know the old directory?
      Why doesn't it change?



      Can anybody help me?



      Thanks



      Thommy7571







      mysql easyphp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 15 '18 at 11:40









      Thommy 7571Thommy 7571

      175




      175






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You need to modify the file eds-app-action.php in your MySQL folder.



          • Find the line // Update datadir

          • On the next line, replace __DIR__ by your path (you can change /data/ as well)

          OR, easier



          Comment the two next lines (//$replacement... and //$serverconffile) and edit the my.ini file as you did. Like this, your changes won't be erased.






          share|improve this answer























          • Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

            – Thommy 7571
            Nov 23 '18 at 11:36











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53318683%2feasyphp-devserver-17-impossible-to-change-mysql-data-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You need to modify the file eds-app-action.php in your MySQL folder.



          • Find the line // Update datadir

          • On the next line, replace __DIR__ by your path (you can change /data/ as well)

          OR, easier



          Comment the two next lines (//$replacement... and //$serverconffile) and edit the my.ini file as you did. Like this, your changes won't be erased.






          share|improve this answer























          • Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

            – Thommy 7571
            Nov 23 '18 at 11:36
















          0














          You need to modify the file eds-app-action.php in your MySQL folder.



          • Find the line // Update datadir

          • On the next line, replace __DIR__ by your path (you can change /data/ as well)

          OR, easier



          Comment the two next lines (//$replacement... and //$serverconffile) and edit the my.ini file as you did. Like this, your changes won't be erased.






          share|improve this answer























          • Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

            – Thommy 7571
            Nov 23 '18 at 11:36














          0












          0








          0







          You need to modify the file eds-app-action.php in your MySQL folder.



          • Find the line // Update datadir

          • On the next line, replace __DIR__ by your path (you can change /data/ as well)

          OR, easier



          Comment the two next lines (//$replacement... and //$serverconffile) and edit the my.ini file as you did. Like this, your changes won't be erased.






          share|improve this answer













          You need to modify the file eds-app-action.php in your MySQL folder.



          • Find the line // Update datadir

          • On the next line, replace __DIR__ by your path (you can change /data/ as well)

          OR, easier



          Comment the two next lines (//$replacement... and //$serverconffile) and edit the my.ini file as you did. Like this, your changes won't be erased.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 23 '18 at 3:27









          Peter EstivenPeter Estiven

          1031211




          1031211












          • Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

            – Thommy 7571
            Nov 23 '18 at 11:36


















          • Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

            – Thommy 7571
            Nov 23 '18 at 11:36

















          Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

          – Thommy 7571
          Nov 23 '18 at 11:36






          Hello, Thanks very much. Works like a charme. I wouldn't have touched at the code normally but commenting is OK. I wonder why such lines have been added... Thanks, Thommy7571

          – Thommy 7571
          Nov 23 '18 at 11:36




















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53318683%2feasyphp-devserver-17-impossible-to-change-mysql-data-directory%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Top Tejano songwriter Luis Silva dead of heart attack at 64

          ReactJS Fetched API data displays live - need Data displayed static

          政党