xampp

XAMPP中的MySQL与本地MySQL冲突的问题

匿名 (未验证) 提交于 2019-12-02 22:06:11
学习SQL时在本地中先安装了MySQL,后来因为项目需要又安装了XAMPP集成环境,今天在启动项目的时候发现启动MySQL各种问题(期望启动的是XAMPP中的MySQL服务),在Navicat中显示成功连接本地数据库,在DOS命令行中连接MySQL一直连接失败。总共做了如下操作: 1.环境变量中删除本地MySQL的配置,因为配置环境变量后在命令行执行mysql会自动执行本地的MySQL服务 2. 文章来源: XAMPP中的MySQL与本地MySQL冲突的问题

搭建 Lepus 天兔 监控MySQL

匿名 (未验证) 提交于 2019-12-02 22:02:20
Part1: Lepus安装需要Lamp环境,lepus官网手册也建议采用XAMPP的方式安装,lepus也是在XAMPP上进行研发的 注意xampp会把apache,mysql,php都安装,所以要在干净的环境中进行安装,以免安装两个mysql,两个mysql也是可以的 Part2:LNMP环境构建 安装XAMPP Xampp下载地址:https://www.apachefriends.org/download.html 注意你的版本号,高版本的XAMPP中可能不是Mysql而是MariaDB 版本搞了,系统版本低,会提示GLIBC_版本低,我用的是xampp-linux-x64-5.6.37-0-installer.run (数据库版本是mariadb) [root@B77-11-100 opt opt]# chmod +x xampp-linux-x64-1.8.2-5-installer.run [root@B77-11-100 opt opt]# ./xampp-linux-x64-1.8.2-5-installer.run [root@B77-11-100 opt opt]# /opt/lampp/lampp start [root@B77-11-100 opt opt]#vi /etc/profile 追加环境变量 export PATH=$PATH:/opt

tomcat无法启动或者一闪而过Make sure you have Java JDK or JRE installed and the required ports are free

匿名 (未验证) 提交于 2019-12-02 21:53:52
当我们使用xampp的时候,启动tomcat失败是怎么回事?这个应该很多人都遇到过,我也是研究了很久才知道问题只所在。下面说一下遇到的问题,使用xampp启动tomcat的时候出现如下错误: 这个原因的意思就是找不到jdk和jre的环境变量。这个时候可以去看看java环境变量对不对了。遇到这个问题的检测和解决方法是: 1:找到自己安装的java,看看是哪个版本,安装在哪里,然后去找到计算机的环境变量的位置把Java的环境变量配置正确就好了 2:配置好环境变量后测试javac,java,java -version看看java配置是否成功。这种在CSDN中都有解决的博客发过了,自行在本博客查阅。一定要确定自己的环境变量配置正确。 3:在去启动xampp文件夹中tomcat的bin文件夹下的startup.bat文件,(该文件最低部加上pause,右键管理员运行)看看运行结果是否如下 如果图是这样的,说明tomcat的配置是正确的,如果不正确,其中会有报错提示。按照错误提示去修复错误的问题,也就是配置好tomcat的环境变量而已,建议也在本博客中查阅。配置好环境变量的tomcat在来测试这个 startup.bat文件,直到如上图没有错误提示即可。 4:在去xampp中启动tomcat,如果还是出现原来那个没有jdk和jre的错误,你就需要去检查你的java版本了

PHP error object not found

做~自己de王妃 提交于 2019-12-02 21:36:39
问题 I have created a small PHP file which displays the name of text files in a directory as first.txt , second.txt , third.txt . On clicking on any of the files I get the error "object not found". This does not work: localhost/Applications/XAMPP/xamppfiles/htdocs/Learning/ListingFiles/first.txt But this works: file:///Applications/XAMPP/xamppfiles/htdocs/Learning/ListingFiles/first.txt Can you help me to understand what is wrong? Here is my code: <?php $directory = '/Applications/XAMPP/xamppfiles

Can't access MySQL through XAMPP and phpMyAdmin

江枫思渺然 提交于 2019-12-02 21:23:45
I am using XAMPP and I am trying to access phpMyAdmin through http://localhost/phpmyadmin , but I'm getting this error message: Error SQL query: SHOW PLUGINS MySQL said: #1 - Can't create/write to file '/var/folders/_y/gtpc137d1q9gkvsj0dsxjd040000gn/T/#sql9f2_8_0.MYI' (Errcode: 13) I haven't tried to access it in a while so I don't know what has changed since the last time. Can anyone shed light on this for me? I've Googled and can't seem to understand what most people are talking about in related issues. Also, my XAMPP won't connect to Apache anymore either (it just keeps giving me the

How to work on UAC when installing XAMPP

左心房为你撑大大i 提交于 2019-12-02 20:20:11
I am installing Xampp to my computer but when i tried to install it a dialog box is showing up. how do i fix this one.. thank you so much for the help.! the dialog Box: Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\Program Files(Missing Write permissions). Or Deactivate UAC with msconfig after this setup. This is a specific issue for Windows Vista, 7, 8 (and presumably newer). User Account Control (UAC) is a feature in Windows that can help you stay in control of your

How do i access mysql from mac terminal, using xampp?

ぃ、小莉子 提交于 2019-12-02 18:44:59
I am trying to access mysql from my mac's terminal. I have tried just typing mysql -u root -p (and Enter, but that does not exist..) This is what i have managed to do/located so far: Williams-iMac:mysql noName$ cd /Applications/xampp/xamppfiles/var/mysql/mysql Williams-iMac:mysql noName$ ls This is what is located there. columns_priv.MYD help_relation.frm slow_log.CSV columns_priv.MYI help_topic.MYD slow_log.frm columns_priv.frm help_topic.MYI tables_priv.MYD db.MYD help_topic.frm tables_priv.MYI db.MYI host.MYD tables_priv.frm db.frm host.MYI time_zone.MYD event.MYD host.frm time_zone.MYI

Why does xdebug crash apache on every XAMPP install I've tried?

橙三吉。 提交于 2019-12-02 18:34:58
I've installed the Windows XAMPP package on three separate computers, 2 running Windows Vista 32 bit ( 1 Ultimate / 1 Home Premium ) and 1 running Windows Vista 64 Home Premium. After enabling xdebug in php.ini and restarting apache, viewing the default XAMPP localhost index causes apache to crash in the same way every time, reporting 'php_xdebug.dll' as the Fault Module Name. Here's the full report from the Windows Crash Reporter thing: Problem signature: Problem Event Name: APPCRASH Application Name: apache.exe Application Version: 2.2.9.0 Application Timestamp: 4853f994 Fault Module Name:

PHP (cli) version doesn't match XAMPP version I installed

◇◆丶佛笑我妖孽 提交于 2019-12-02 18:28:30
问题 Recently I installed XAMPP for doing local development on my Windows 7 machine. I honestly didn't think PHP was installed at all before hand. I installed the latest version of XAMPP and configured for php 5.6.24. I created some virtual hosts and everything seemed to work. I was having an issue and I needed to confirm which version of PHP I was using so I opened up my command line and typed php -v . For some reason it is reporting I'm using PHP 5.4.25. The exact line is PHP 5.4.25 (cli) (built