Security Script MySQL Network Setting Question

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

Security Script MySQL Network Setting Question

Postby dorn » 20. January 2007 20:47

Upon running the security script (/opt/lampp/lampp security) a setting appears asking the following:

MySQL is accessible via network. Normally Thats's not reccomended. Do you want me to turn it off? [yes]

I have a few of questions regarding this option.

1. What exactlty is this securing?

2. Is XAMPP limited in any way by turning this off? Such as setting up databases.

3. Can this setting be turned back on if turned off in the security setup?

Thanks for any reples.
dorn
 
Posts: 2
Joined: 20. January 2007 20:33

Postby Wiedmann » 20. January 2007 22:53

1. What exactlty is this securing?

Access throught TCP/IP.

2. Is XAMPP limited in any way by turning this off?

Yes, you can't access the MySQL server throught a network.

3. Can this setting be turned back on if turned off in the security setup?

Sure, it can (It's a setting in the file "my.cnf").
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby dorn » 21. January 2007 03:12

Thanks for the reply.

I looked over the my.cnf file found in /opt/lampp/etc/

Heres how I'm going about turning on/off networking.


OFF

Code: Select all
[mysqld]
# commented out by lampp security
#port      = 3306
port = 0



ON

Code: Select all
[mysqld]
# commented out by lampp security
port      = 3306
#port = 0


I'm assuming thats the correct code to comment/uncomment.

Would there happen to be a command to add remove these comments rather than editing the file?
dorn
 
Posts: 2
Joined: 20. January 2007 20:33

Postby xnemesis » 21. January 2007 04:47

run ./lampp security (I think that's the command) ./lampp will provide a list though.
xnemesis
 
Posts: 20
Joined: 13. November 2006 02:52


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 20 guests