![]() |
Setting phpmyadmin on multiserver setup
Hey guys,
Someone have an link on how to setup the phpmyadmin for the multiserver setup? Looking around i found this post: http://www.howtoforge.com/forums/showthread.php?t=55811 After try i get my db.server.com isnt accepting connections from my web.server.com. Should i add 2 users like ISPConfig setup does? I mean root@IP and root@web.server.com Since this user need have full access on db.server.com, i would set to use the ispconfig login instead make a new one? |
Quote:
Quote:
|
I tried adding only the IP.
Worked only for root. But when i try log as user i get acces denied, example: root@192.168.0.3 > OK c1db@192.168.0.3 > Access Denied c1db@web.server.com > Access Denied On my setup like i did with root i will need add the users one by one? |
Someone have the phpmyadmin working in multiserver enviroment and would share how to get this working please?
I have tried on web.server.com: dpkg-reconfigure phpmyadmin Then i set to connect directly on the other server: db.server.com But when i try log seems the phpmyadmin send the login as: username@web.server.com And so, pop error about access denied. There someway to rewrite the domain name inside of phpmyadmin? I mean for try log as: username@db.server.com (already exists since ISPConfig created by the pannel) instead username@web.server.com (dont exists) |
Quote:
|
Quote:
I have checked now to enable remote access and worked pretty nice. Since i dindt oppened the port 3306 on my firewall, i dindt worry about someone try bruteforce attacks on my db.server.com right? |
Quote:
|
Today i got sometime to back on play on my server and notice an problem with this setup.
I`m able to log as user, see database / tables, but, when i try run any SQL query i get an error: ERROR 403 - Forbidden! When i click to check the documentation, i get same error. Looking on /var/log/apache2/error.log and access.log, i dindt find anything about this error. I`m missing an include somewhere? I mean, I need add something else on path inside of ISPConfig? Btw, my phpmyadmin is using ssl, would be this? |
Just updating my tests, i have tried use:
# Order Deny,Allow # Deny from All Allow from LAN IP Dindt worked, then: # Order Deny,Allow # Deny from All Allow from All Samething, so: # Order Deny,Allow # Deny from All Allow from All Require all granted No luck too, my question now would be, there an way to specific the detail for log on apache? My guess for there no info on apache logs would be because something would have be set for minimun details. |
After some reasearch i found where are the real logs of apache, seems they still on this place:
/var/log/ispconfig/httpd/mydomain.com/error.log On the log i noticed this: Quote:
I mean, i will need do an new certificate specific for web.server.com, for db.server.com, etc... ??? |
| All times are GMT +2. The time now is 01:19. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.