mamp

Cannot find old MySQL databases after upgrading MAMP

断了今生、忘了曾经 提交于 2021-01-23 11:02:03
问题 I installed Yosemite Renamed MAMP to MAMP_old Did a clean install of MAMP Copied the db folder from old into the the new one Now none of my databases appear in PHPMyAdmin Inside the db/mysql folder I see the folder for my old databases, but there are no sql files. For example a Wordpress folder contains .frm files and db.opt files. I tried doing this (using the link below), but I don't seem to have a mysql folder usr/local/ /usr/local/mysql/bin/mysqldump -u root -p[pass] [db] > [filename].sql

Connection refused to MySQL on laravel and MAMP

六月ゝ 毕业季﹏ 提交于 2021-01-02 05:03:53
问题 I have a laravel installation on my macos, and MAMP running mysql, i know i have all the info right in the .env file, the ports are right, the user is right, the database exists, the admin and password are right. What am i missing? i am getting this error: *PDOException::("SQLSTATE[HY000] [2002] Connection refused")* APP_NAME=Laravel APP_ENV=local APP_KEY=base64:bWFE4NsYpgdx10/8ODfLxLPJxru5bgY7m4KMg9LwHk8= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST

Connection refused to MySQL on laravel and MAMP

自古美人都是妖i 提交于 2021-01-02 05:03:08
问题 I have a laravel installation on my macos, and MAMP running mysql, i know i have all the info right in the .env file, the ports are right, the user is right, the database exists, the admin and password are right. What am i missing? i am getting this error: *PDOException::("SQLSTATE[HY000] [2002] Connection refused")* APP_NAME=Laravel APP_ENV=local APP_KEY=base64:bWFE4NsYpgdx10/8ODfLxLPJxru5bgY7m4KMg9LwHk8= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack DB_CONNECTION=mysql DB_HOST

installation error phalcon on MAMP or XAMPP on macOS

孤者浪人 提交于 2020-12-12 21:28:38
问题 I'm trying to install phalcon on xampp or MAMP on macOS please tell me how to install correctly phalcon on MAMP(I get the same errors during installation on XAMPP) i use this tutorial https://madebyextreme.com/insights/how-to-install-phalcon-php-framework-with-mamp-on-osx please, help me! I use php 7.3.7 errors: ./install: line 133: aclocal: command not found configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. appending configuration tag "CXX" to

installation error phalcon on MAMP or XAMPP on macOS

瘦欲@ 提交于 2020-12-12 21:24:52
问题 I'm trying to install phalcon on xampp or MAMP on macOS please tell me how to install correctly phalcon on MAMP(I get the same errors during installation on XAMPP) i use this tutorial https://madebyextreme.com/insights/how-to-install-phalcon-php-framework-with-mamp-on-osx please, help me! I use php 7.3.7 errors: ./install: line 133: aclocal: command not found configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. appending configuration tag "CXX" to

installation error phalcon on MAMP or XAMPP on macOS

三世轮回 提交于 2020-12-12 21:24:25
问题 I'm trying to install phalcon on xampp or MAMP on macOS please tell me how to install correctly phalcon on MAMP(I get the same errors during installation on XAMPP) i use this tutorial https://madebyextreme.com/insights/how-to-install-phalcon-php-framework-with-mamp-on-osx please, help me! I use php 7.3.7 errors: ./install: line 133: aclocal: command not found configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. appending configuration tag "CXX" to

MAMP Pro 如何修改MySQL 5.7配置文件my.cnf sql_mode

泄露秘密 提交于 2020-08-12 00:42:45
1、正常路径修改(亲测5.1版本无效) 2、 [mysqld] 模块下加 sql_mode = STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION 3、重启报错 The MySQL configuration file my.cnf couldn't be written. 4、正确方法 1、全局搜索 my57.cnf 2、搜到文件 /Users/xxx/Library/Application Support/appsolute/MAMP PRO/templates/my57.cnf.temp 3、修改文件,见上面第二步,如已经用上面步骤修改了my.cnf文件,先还原旧文件 4、重启 来源: oschina 链接: https://my.oschina.net/lantianbaiyun/blog/4406674

2种简单的方式来体验Joomla 4演示

那年仲夏 提交于 2020-08-09 13:36:54
您是否了解Joomla 4演示站点? 首先它看起来很漂亮,并且继承了Joomla 3的所有重要功能并进行了许多改进。 幸运的是,我们无需等待最终版本即可体验Joomla 4,因为Joomla 4 Alpha版本将帮助我们发现此最新版本中的所有令人惊叹的新功能。 这里有2种简单的方法,可帮助您充分体验Joomla 4演示。 1.通过本地主机安装 体验Joomla的好方法,当您通过localhost安装时,可以根据需要创建任意数量的Joomla站点,并且Joomla站点将一直持续到您删除它为止。 如果您熟悉MAMP,XAMPP等,则只需下载最新版本的Joomla 4并安装。 2.转到Launch.joomla.org 这是一项Joomla服务,可让您无限制地在joomla.com子域(example.joomla.com)上启动,构建和维护完全免费的网站。您可以通过launch.joomla.org创建一个新的免费网站,然后自定义该网站上的任何内容。只要您每30天在其控制面板中更新一次许可证,就可以保留您的网站。 综上所述 这是尝试Joomla 4演示网站并测试此版本中所有新功能的2种最常用的方法。 来源: oschina 链接: https://my.oschina.net/u/3761169/blog/4467038

PHP开发环境搭建工具有哪些?

ぃ、小莉子 提交于 2020-07-28 01:50:16
对于php开发小白来说搭建一个php运行环境就是一道坎! 因为要做php开发,搭建一个能够运行php网站的服务器环境是第一步,传统的php环境软件非常复杂,好在很多公司开发了一键搭建php安装环境,一键进行php环境配置,大大节省了搭建php mysql环境的时间!对老手来说安装配置php环境也不再是一件繁琐的事。 接下来大脸猫来给大家分享七种PHP开发环境搭建工具,当然也不仅仅有这七种仅仅只是这几种比较常见; 一、phpStudy phpStudy是一个新手入门最常用的开发环境。(还有一个梗就如同phpStudy的名字的中文意思一样PHP学习) phpStudy是一个PHP调试环境的程序集成包; 该程序包集成最新的Apache/Nginx+PHP+MySQL+phpMyAdmin+ZendOptimizer+OpenSSL,一次性安装,无需配置即可使用,是非常方便、好用的PHP调试环境; 该程序不仅包括PHP调试环境,还包括了开发工具、开发手册等。 二、WampServer WampServer也同样的也是和phpStudy一样操作简单对小白比较友好。 WampServer是一款由法国人开发的Apache Web服务器、PHP解释器以及MySQL数据库的整合软件包。免去了开发人员将时间花费在繁琐的配置环境过程,从而腾出更多精力去做开发。 WampServer就是Windows

Wordpress always redirects to https after copying to localhost

六眼飞鱼酱① 提交于 2020-06-27 08:33:15
问题 When I copy my wordpress installation from server to a local webserver (MAMP) and try to access localhost:8888 , it always redirects http to https. So I always get an ERR_SSL_PROTOCOL_ERROR . I can't find the setting for this anywhere – neither in the database nor somewhere else in the wordpress files. Can anybody help? 回答1: Make sure that WP_HOME and WP_SITEURL are set to addresses that start with http , not https . These settings should be located in wp-config.php . define('WP_HOME','http:/