[MYSQL] Change Database Directory for PHPMyAdmin

Problems with the Windows version of XAMPP, questions, comments, and anything related.

[MYSQL] Change Database Directory for PHPMyAdmin

Postby skt32 » 10. March 2021 11:55

Goodmorning everyone,
I have a problem with a XAMPP's installation. I am working on a management software inside the office and then I installed XAMPP and I started working in PHP + MySQL for the creation of this management software.
However, I need to share the database we are working on with a colleague and I only have a shared folder where I would like to move the database.
We work both with different XAMPP installation
I would like to tell phpmyadmin that the two computers that have to work on the tables, go and get the database in "X" folder.

Can you help me?
I am not an administrator of the computer where I work
I have already modified the my.ini file in the etc / xampp / mysql / data path but it does not work equally:
Code: Select all
[mysqld]
datadir = MY SHARED DIRECTORY
[client]


I thank you infinitely.

PS. Sorry for my English.
skt32
 
Posts: 2
Joined: 10. March 2021 11:49
XAMPP version: 3.2.4
Operating System: W10/Kali

Re: [MYSQL] Change Database Directory for PHPMyAdmin

Postby Altrea » 10. March 2021 13:43

phpmyadmin does not access the database by folder, it connects to it by ip and port.

That is the prefered method too if you want to share a database.
Don't share the data folder and try to manage it with two MariaDB instances.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: [MYSQL] Change Database Directory for PHPMyAdmin

Postby skt32 » 10. March 2021 16:47

Is not working, we have a possibility to change the path where phpmyadmin gets the db?
skt32
 
Posts: 2
Joined: 10. March 2021 11:49
XAMPP version: 3.2.4
Operating System: W10/Kali

Re: [MYSQL] Change Database Directory for PHPMyAdmin

Postby Altrea » 11. March 2021 06:47

Phpmyadmin doesn't care about paths
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: [MYSQL] Change Database Directory for PHPMyAdmin

Postby Nobbie » 11. March 2021 11:12

skt32 wrote:Is not working, we have a possibility to change the path where phpmyadmin gets the db?


No.

Tell us more precisely, what you tried and which error occurred.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 192 guests