MAMP wont connect to mySQL - macos

I have installed and configure MAMP on my MAC (Yosemite operating system. I used the how to video on Lynda.com:
http://www.lynda.com/WordPress-tutorials/Downloading-installing-WordPress/361682/370433-4.html
At the end of the video he clicks start servers and it bring him to a locally hosted MAMP webpage. The Apache server runs correctly. How do I get mySQL to run correctly? Mysqlb is not running.

Related

Apache web server problems on MacOS Mojave

I have migrated to a new webhost that has MacOS Mojave installed. My previous installation used El Capitan (or maybe it was Yosemite) and worked perfectly. Previously, I had everything set up using Mac Server. However, as you may already know, over the last few OS "upgrades," Apple has reduced Server to the point that it now worse than useless. It no longer controls web hosting or anything else you might want to do. So I have been trying to use ApacheGUI. After mucking around in httpd.conf and httpd-vhosts.conf, my website is now responding on port 8080. Previously, my installation of Apache Tomcat used port 8080, but because I don't need Tomcat, this is really a non-issue. The problem is that the MacOS Server webpage ("Welcome to macOS Server") responds on port 80. I can't figure out how this is possible. I have copied my entire website to both /Library/WebServer/Documents (the document root specified in httpd.conf) and /Users/UserName/Website/website/com (the document root specified in httpd-vhosts.conf).
Any assistance would be appreciated. I have a working knowledge of how to get around in terminal and nano, but I don't know much about setting up a webserver manually thanks to my decade+ reliance on the now-deprecated MacOS Server.

connect to mongodb remotely

I'm just starting with mongoldb (Installed today!).
I installed mongoldb on my ubuntu laptop (already acting as a mySQL server).
I want to be able to work with the mongodb database remotely from my mac.
What do I need to do?
Do I need to install mongodb on my mac as well?

unable to access xampp based moodle server from client machine with ubuntu operating system

I have installed Moodle 2.4 server on machine with window 7 by downloading the package available in moodle.org which includes XAMPP server .It is installed properly and is accessible from all client machines with windows operating system. The problem is that when we try to access the server from machines having Ubuntu it is not accessible. Pl help what to do.
You should not use that XAMPP package to install Moodle on a production server. That package is only suitable for "localhost" test installations of Moodle.
Windows 7 is also not suitable as a server operating system.
Also, check that you've got the correct '$CFG->wwwroot' value in your Moodle config.php file. "localhost" won't work.
Please explain what happens when a Ubuntu user tries to access that Moodle site. What happens? Do they get an error message?

os x server localhost alternate port not responding

Somehow the node.js server used for docpad running on my MacBook (running 10.8.4) are no longer accessible. Docpad (using the default "docpad run") normally publishes on port 9778, and is accessible via localhost:9778 (or 127.0.0.1:9778), and this used to work just fine, and was reliable. Now, however, Safari says 'Safari can't connect to the server "localhost"' ... same thing for Chrome, so it's not a Safari issue.
The one thing that HAS changed, is that now I have OS X Server 2.2 installed ... and the default server webpage does appear at "localhost" or "localhost:80".
Furthermore, another node.js server (the one available with punch), works just fine on any IP number I give it.
Just to make things even more confusing, the docpad server access started to work again last night after a clean install of the twitter-bootstrap skeleton, and then stopped again this AM. I restarted the MacBook ... no change. I turned the web server off using the OS X Server console ... no change.
Something weird with the docpad server code?
Any ideas?

Setting up production on a virtual web server for Mac, Apache, PHP and MySql

I'm building a web app on my Mac and have so far been testing with XAMPP. I'm looking at finding a virtual server vendor to host my application but have found almost none that is compatible with Mac, Apache, PHP and MySql. I don't want to go the Mac Mini route for now.
Does anyone have any suggestions on how I could do this or what vendor to use?
If it's a PHP/mySQL app, chances are it's not very dependent on the OS it's running on. Unless you have something totally Mac specific running in your app, getting a normal Linux VPS may be the way to go.

Resources