mamp

How to recover mysql root password in MacOS

[亡魂溺海] 提交于 2019-12-02 10:29:59
I start my MAMP and try to connect to my MySQL server via localhost or 127.0.0.1 , I tried all the possible password that I think it is correct, but for some reasons it still didn't like it, so I think I forgot it somehow. I need help. Try #1 Enter all the possible passwords MySQL -u root -h localhost -p Enter password: <--- I've tried almost 10 possible passwords I got ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Try #2 Enter possible passwords MySQL -u root -h localhost I got ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:

How do I add an ODBC driver to a MAMP environment?

耗尽温柔 提交于 2019-12-02 09:57:09
问题 I'm working on something that was built on a PC set-up using php and an ms access database. When I port the app to my MAMP environment, I get Fatal error: Call to undefined function odbc_connect() in /path/to/index.php on line 37 line 37 looks like this: return odbc_connect("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=myfile.mdb", "ADODB.Connection", "", "SQL_CUR_USE_ODBC"); It seems like odbc isn't compiled into the MAMP version of PHP (5). I also tried using PDO, and got similar errors.

Error importing MySQL data across platforms (MAMP to WIMP)

狂风中的少年 提交于 2019-12-02 09:51:38
I've dumped a MySQL database I have on my local MAMP server into a .sql file. Usually, it's easy enough for me to import that file to my production Linux servers without a hitch. However, my current client runs MySQL on WIMP, and when import the MAMP-generated .sql dump into my WIMP mysql environment (Using pphpMyAdmin) I get a "File could not be read" error? Any ideas of what I'm bumping up against, or what to check? Thanks- EDIT: My initial explanation was unclear- I'm trying to export out of MAMP, and import into WIMP The most likely cause for this problem is the different end of line

php edits not displayed immediately when using MAMP in OSX and PHP Version 5.5.3

萝らか妹 提交于 2019-12-02 09:27:43
After changing php file and refreshing browser, the change is not displayed immediately, but refreshing after 15 seconds shows the change. However, changes display immediately for PHP Version 5.2.17, but not PHP Version 5.5.3. phpinfo reports HTTP Response Headers has expires for php version 5.2.17, but not for php version 5.5.3. Is this a known issue, and is there a fix in later version of php? http.conf has: LoadModule expires_module modules/mod_expires.so ExpiresActive On ExpiresDefault "now" Using localhost MAMP in OSX Lion and Chrome browser. Source code for test. Change number, hit

Viewing MAMP Pro site on iPad

半腔热情 提交于 2019-12-02 08:16:24
问题 I've just started using the paid version of MAMP, MAMP Pro, and I'm having some trouble accessing my site via my iPad/iPhone. I've got my MAMP server set up with the default ports (80, 3306) and am trying to visit the site on my iPad via: 10.0.1.2:80/project-name . But no dice, what am I doing wrong? 回答1: Use a xip.io address. Select your host in MAMP PRO ( client.dev in this example), go to the Advanced tab and put this in the Customized General Settings: ServerAlias client.*.xip.io Set WP

I can't log into my local copy of Magento — how to use lost password with local copy of software?

有些话、适合烂在心里 提交于 2019-12-02 07:07:56
问题 I have a local install of Magento on my Mac using MAMP. I need to retrieve my password, but the lost password is obviously not working out of the box. Is there a way with MAMP to use the lost password feature (e.g. by activating a mail sever)? 回答1: The default login is : admin The default password is : 123123 If you are having troubles and want to reset it to a different password, just run at your sql database: SELECT * FROM admin_user; Then, find the username you want to modify in the

Virtual Host with MAMP

≡放荡痞女 提交于 2019-12-02 06:42:00
I installed Drupal 8 with MAMP. My MAMP preference number for Apache Port : 80 , Nginx Port: 80 and MySQL Port: 8889 In etc/hosts file, I add 127.0.0.1 mmcast.test In httpd.conf file, Listen 80 and uncomment the following line. # Virtual hosts Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf In httpd-vhosts.conf file, NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /Applications/MAMP/htdocs ServerName localhost </VirtualHost> <VirtualHost *:80> ServerName mmcast.test DocumentRoot "/Applications/MAMP/htdocs/mmcast" </VirtualHost> When I call the site, I type mmcast.test:8888

Viewing MAMP Pro site on iPad

╄→尐↘猪︶ㄣ 提交于 2019-12-02 06:20:39
I've just started using the paid version of MAMP, MAMP Pro, and I'm having some trouble accessing my site via my iPad/iPhone. I've got my MAMP server set up with the default ports (80, 3306) and am trying to visit the site on my iPad via: 10.0.1.2:80/project-name . But no dice, what am I doing wrong? brasofilo Use a xip.io address. Select your host in MAMP PRO ( client.dev in this example), go to the Advanced tab and put this in the Customized General Settings: ServerAlias client.*.xip.io Set WP URLs to http://client.YOUR-LOCALHOST-IP-ADDRESS.xip.io . For development, it's better to set a

用于Web开发的本地服务器环境:MAMP Pro mac版

匆匆过客 提交于 2019-12-02 05:54:52
MAMP&MAMP Pro Mac版 终于迎来更新啦!MAMP Pro for Mac是一款搭建本地服务器环境的软件,是一套专业的组合软件。mamp pro mac版这几个首字母代表Macintosh、Apache、MySQL和PHP,即包含Macintosh、Apache、MySQL和PHP四大开发环境。 MAMP PRO mac版 是经典的本地服务器环境的专业级版本。 mamp pro mac版 软件介绍 MAMP PRO 是专业级版本的经典本地服务器环境的os x软件。MAMP这几个首字母代表苹果的OSX系统上的Macintosh、Apache、MySQL和PHP。MAMP 内含 Apache 服务器、PHP 安装套件以及MySQL安装套件。只要轻松点选就能安装架站/讨论区/论坛必备的元件。透过Web界面稍作设定,在苹果电脑上架设自己专属的网站,和windows下的XAMPP、WAMP,Linux下的LAMP一样。都是Apache+Mysql+PHP的集成环境。 mamp pro 5 mac 破解版 最新功能 MAMP PRO 5有什么新东西? 适用于macOS的 MAMP PRO 5 具有许多新功能和改进。这一重大更新的主要焦点之一是使用WordPress的开发人员。但是其他人也可以在MAMP PRO 5中享受到丰富的新功能。 将WordPress主机发布到您的Live

How do I add an ODBC driver to a MAMP environment?

微笑、不失礼 提交于 2019-12-02 05:53:54
I'm working on something that was built on a PC set-up using php and an ms access database. When I port the app to my MAMP environment, I get Fatal error: Call to undefined function odbc_connect() in /path/to/index.php on line 37 line 37 looks like this: return odbc_connect("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=myfile.mdb", "ADODB.Connection", "", "SQL_CUR_USE_ODBC"); It seems like odbc isn't compiled into the MAMP version of PHP (5). I also tried using PDO, and got similar errors. Anyone know how to fix this? You will need to add an ODBC driver like Actual ODBC to your machine, that