MySQL port open in Leopard firewall (and in ipfw) but can't access
Hi There,
I'm trying to allow MySQL access to a Mac Mini dev server I've setup using MAMP Pro. I've installed OS 10.5 server because I couldn't open a port manually using the Terminal under a Snow Leopard client install.
*MAMP Pro:*
- "Allow local access only" is unticked under MySQL
*Leopard Server Admin:*
- MySQL port 3306 is open for "any"
- I can also see it's open if I run this from the terminal "$ sudo ipfw list"
*Querious Database App:*
- If I try to connect to the database from a client machine using Querious via 3306 or tunnel via ssh I can't connect
*Network Utility:*
- If I do a port scan from my client machine no ports are open on the Mac Mini
*Other info:*
- Stealth mode is off
- The Firewall is the only service which is running in Server Admin
- I can connect via ssh/terminal from this same client machine
- I'm just trying to connect on a local network (so not through a router etc)
Obviously I thought this would be much simpler than it is! Are there other things that need to be configured - do I have to forward the port onto MAMP Pro somehow?
Not sure how it all works sorry so any help would be much appreciated.
Cheers
Ben
Hi Ben,
I have done some brief digging on MAMP and it would appear that you're trying to override the inherent features in OS X Server by using MAMP instead. Apache, MySQL and PHP are all inherent parts of OS X Server, minus the unified interface of MAMP. (phpMyAdmin is open-source and can be installed independently.) This may have been necessary on a non-server (client) version of OS X, but not for Server. As Harry pointed out, removing those elements from OS X Server are not simple tasks and you would be far better off using the built-in versions over trying to bypass them to run MAMP.
3306 is the default port for MySQL, so your pings are reaching the mysql service. You may run into the same problem as I did when trying to establish external connections to mysql from anywhere other than on the host machine (whether that be across a LAN or via the Internet though PHP commands to the mysql service) since requests from anything other than the localhost will be rejected. Working around that with MAMP is not well documented. phpMyAdmin doesn't get under the hood to make the changes needed to allow requests from other hosts.
The MAMP documentation is also lacking on how one can get under the hood of its mysql service, other than that you can access it through Terminal at:
/Applications/MAMP/Library/bin/mysql
in which case all normal mysql commands should work when working in that directory:
+/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot+
All in all, though, I think it would be far easier to use the built-in versions. OS X Server is configured to work with what is already there and Apple's support documentation is built around that. Trying to get MAMP working means that you're pretty much on your own trying to figure out the whats, hows and whys when things aren't working. The Server Admin application gives you access to all those services (at least at a base level, excluding phpMyAdmin).
For 10.5 Server, the built-in version of MySQL is 5.0.91; PHP version is 5.2.14; Apache version is 2.2.14, all of which are mostly-current, stable releases.
I don't have any /mysql/msql directories inside the /var/ directory.
That is really odd, as they should be there for an installation of Server.
-Doug
Similar Messages
-
Have Pages on iPad and MacBook Pro but can't access docs from iCloud on laptop.
have Pages on iPad and MacBook Pro but can't access docs from iCloud on laptop. laptop keeps telling me to purchase pages for iPad (which I've been using on both the iPad and MacBook for months - App store says i have them both too). Both units have current updated systems and apps. Using same apple ID. Calendar and contacts work fine between both machines.
Do you have any secondary accounts set up in mail, contacts and calendars.
-
My iMac boots up to the desktop. I let it warm up but as soon as I select ANY function the beachball appears and I have no function or access to ANYTHING- just this spinning ball. It has been shutdown for about 6 weeks. I have reset the PRAM and it seems to be getting very hot. It has been trying to load in safe mode now for about 30 minutes. Does that sound right?
Soundzalive wrote:
... Sounds like a new hard drive?
Yes. Read this to determine if it applies: iMac 1TB Seagate Hard Drive Replacement Program
Whether your data can be retrieved or not is unknown. To determine the answer would require a non-trivial expense and there is no guarantee it would be successful.
Schedule a visit to the Genius Bar using the link in the above document, even if it indicates your iMac is not eligible for the replacement. Only Apple can make a final determination. -
I have a new ipad and everything works but can't connect to the app store. Itunes works and the wifi seems to be working but i get a blank white screen when i open the appstore. Nothing will load unter the features or charts tab so i cant download any apps. Purchased and updates tab loads fine. Any suggestions?
You would get better response from the iTunes community forum.
Have a nice day! -
My iPod touch 4th gen. Keeps giving me the error message "cannot connect to the app store when I sign in. I can open the app store and browse it but I can't download anything. I have full signal strength with my wi-fi and safari is working perfect. I turned it off and restarted it 3 times now. I have an iPad 2 and the app store works flawlessly with it. What is going on?
Same here on my lpad2. Can access the web just fine from browsers but cannot install new apps or updates in appl store. Seeing a few others reporting same issue tonight so likely an apple server issue and staff will notice it in network monitors and fix it...sometime this weekend.
Rob -
I am running OS X Lion on a mid 2009 MacBook Pro with 4GB of ram and a 160GB HDD. I was going to download Mavericks from the app store but waited to long. Now that Yosemite is out Mavericks has disappeared from the app store. WHY? A person can buy and/or download Snow Leopard, Lion, and Mountain Lion but not Mavericks??? And the kicker is that it was FREE!!! I just wanted to load Mavericks on my MacBook Pro to see how it performs. If I could live with any slow downs or quirks, I'd leave it installed. If not, I'd roll my system back. Apple's policy of ramrodding unstable product down our throat is BS. I don't want to use Yosemite until it has become more stable!
Upgrading to Snow Leopard
You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mavericks if your computer meets the requirements.
Upgrading to Lion
If your computer does not meet the requirements to install Mavericks, it may still meet the requirements to install Lion.
You can purchase Lion at the Online Apple Store. The cost is $19.99 (as it was before) plus tax. It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
Upgrading to Mountain Lion
To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase a redemption code at the Online Apple Store: OS X Mountain Lion. Mountain Lion is $19.99 plus tax. Use the code to redeem a download of Mountain Lion from the App Store. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless. -
I have a Mac OS X 10.7 and want to be able to open Microsoft based WMV and MPG video. Can someone help me find a proper download?
go out and gather together all players you can run on Lion:
MpegstreamClip, with QuickTime pro as the engine you can open and export just about anything.
Flip4Mac, buy it and you can convert and export to wmv. Usefull if you must have wmvs in PowerPoint.
Perian
VLC
Divx for Mac
Elgato h264 Turbo if you want to create h264 fast. -
When I use Firefox without menu bar I can see bookmarks. How ever when I activate menu bar the bookmark is missing from toolbar. I tried opening in safe mode and resetting toolbar but it didn't fix the issue. I am using version 7.0
Do you mean the Bookmarks Menu button on the Navigation Toolbar?
You only see that button if the menu bar is hidden. -
I can't access my itunes music on my laptop after having it re-imaged. I installed itunes again but can't access the music folder. I get the following message when I click to open itunes: "The folder itunes cannot be found or created, and is required. The default location for this folder is the Music folder.
I have an iPad2, and iPad mini, and an iPhone5 with a different number of songs on each. I want to sync everything -- should have close to 800 songs. Tried to get support from Apple but would be charged for help.I have a Windows 7 operating system my computer runs from.
-
Was able to download and install Premier but can't install Photoshop Elements - getting multiple error messages (pirated software, etc). Any ideas?
download from adobe.com or prodesigntools.com.
Downloadable installation files available:
Suites and Programs: CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
Acrobat: XI, X | 9,8 | 9 standard
Premiere Elements: 13 |12 | 11, 10 | 9, 8, 7
Photoshop Elements: 13 |12 | 11, 10 | 9,8,7
Lightroom: 5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
Captivate: 8 | 7 | 6 | 5
Contribute: CS5 | CS4, CS3
Download and installation help for Adobe links
Download and installation help for Prodesigntools links are listed on most linked pages. They are critical; especially steps 1, 2 and 3. If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
window using the Lightroom 3 link to see those 'Important Instructions'. -
updated to Lion, from snow leopard after updating all necessary programs & system, recieved emails saying it was successful changing to icloud but can i access iclound No - nothing works! webmail & mail - also reset password.
Ok 1st one. The warning restriction message relates to this line in main.cf:
smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks check_helo_access hash:/etc/postfix/helo_access reject_non_fqdn_hostname reject_invalid_hostname permit reject_invalid_helo_hostname
The last reject occurs after the single word "permit" and is ignored.
However, that's not the problem.
I'm not exactly sure what's happening, but this might be a clue.
It would appear that either postfix is not being able to create the socket for private/policy or it's somehow created with the wrong permissions. You might need to ramp up the debug level to get a better idea.
You could check if it's being created by "netstat -a | grep private/policy" in terminal.
My guess is that it's not being created because there is no setup statement in your master.cf file, but I don't understand why postfix would be looking for it if it isn't set up. Private/policy I think relates to grey listing. Maybe gives you a hint. -
I have an iCloud email and Yahoo email on my iPhone that is now old as hacked and unused. I can't access anything as it asks for that account info and I don't remember the password etc. How do I delete and replace it with my new iPad email? ! Help..
Welcome to the Apple community.
If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact AppleCare(or Apple ID Support), upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan. -
How do I use home sharing with direct TV / Verizon internet. I have turned on Home sharing on apple tv and in iTunes but can't see the library in apple tv. I can see the photo stream but thats it. Any Ideas????
go to home-sharing on Apple TV and type in your info as ask.
hope this help -
the email address assoc. with my iTunes account is no longer valid. can't access it. need to change it in iTunes but can't access account. even my birthdate is incorrect in iTunes...so can't log in. any suggestions on how to log in and edit info???
There is nothing that you can do to get rid of the balance on your own. Contact iTunes Store Support and seek their assistance. I believe that they can reset your balance for you.
https://expresslane.apple.com/Issues.action -
Hello, I have an iPod touch and it don't has light or brightness. I can see the icons and use it but can get it work properly. I went to settings and the brightness is adjusted tu full level. Any idea?
Try a system reset. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
Maybe you are looking for
-
Numbers file not opening in iCloud on MacBook Pro
I have added Numbers to my iPad and have upgraded Numbers on my MACBOOK in order to open/view spreadsheets in iCloud. I am having trouble getting files open on the MacBook from iCloud. Says "file did not revert"?
-
I am using windows 7 as my operating system...
-
Active Directory Integration and home folder mounting
Hello, I've set up a G4 tower with Tiger 10.4.4 and bound it to our AD domain. Authentication works perfectly, however the home directories of the users (on smb shares on windows servers) do not mount consistently. At first I thought that it was work
-
Captivate 5.5 - unresponsive when selecting variables
I'm experiencing a new problem with captivate 5.5. When selecting variables on the menu or from within advanced actions, captivate becomes unresponsive (freezes). This happens in existing and new projects. Is this an experiene anyone else has had? Is
-
Really need to show an image in this applet...
Hi, I need to display an image in my applet as a sort of "Start Screen" like you get on games. But I'm damned if I can get it to work, my tutor provided the unifinished shell of a program, and it seems that I need to display this image before any...