xampp

How to fix Error: MySQL shutdown unexpectedly on Xampp due to Plugin 'Aria'

喜欢而已 提交于 2019-12-18 15:35:12
问题 These were the logs: [ERROR] mysqld.exe: Aria recovery failed. Please run aria_chk -r on all Aria tables and delete all aria_log.######## files [ERROR] Plugin 'Aria' init function returned error. [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. 回答1: The solution is Removing the aria_log_control file allowed MariaDB to start again. You can find this file in \xampp\mysql\data. Then restart or start xammp. 回答2: If XAMPP generated following logs [Note] Plugin 'FEEDBACK' is disabled.

How to set the default storage engine to InnoDB in XAMPP

牧云@^-^@ 提交于 2019-12-18 14:50:45
问题 How do I set the default-storage-engine to InnoDB in Linux XAMPP 1.7.3? 回答1: The easiest way is just to go to the mysql config file (my.ini in windows, my.cnf in Linux) and just add this: [mysqld] default-storage-engine=InnoDB This assumes that you have enabled InnoDB , which is another topic, but there are plenty of answers on how to do this. You can always check the default storage engine in phpMyAdmin on XAMPP: Just click on the server, then on engines, then on a particular engine (like

How can I update my version of PHP for XAMPP [duplicate]

北战南征 提交于 2019-12-18 13:17:15
问题 This question already has answers here : Closed 6 years ago . Possible Duplicate: Upgrading PHP in XAMPP for Windows? I am currently using XAMPP version 1.8.1 which has the PHPversion 5.4.3 I have found the latest version of PHP from the PHP site version 5.4.11, released a day ago. Now if I download the latest PHP version from php.net and replace my current PHP directory with the latest, will it work properly/ straight away? Thanks 回答1: Download the latest binary version of PHP 5.4.11 (make

remote_addr not returning IPv4 address

自作多情 提交于 2019-12-18 13:14:44
问题 I am using xampp on localhost and when I use $_SERVER["REMOTE_ADDR"] it returns ::1 (also does this in phpinfo() ). Why does it do this? I want it to return a normal ip address like 127.0.0.1. My operating system is windows vista. 回答1: ::1 is an IPv6 address and an abbreviation for 0:0:0:0:0:0:0:1 that is the loopback address to the local machine. So ::1 is the same as 127.0.0.1 only via IPv6 instead of IPv4. 回答2: Your apache is listening for IPv6 connections by default ( ::1 being local

PHPMyAdmin doesn't connect after root password change

ぐ巨炮叔叔 提交于 2019-12-18 12:36:42
问题 I installed Xampp (for Windows). I was happily using it with its all features. Then I wanted to change MySql password. I set a randomly generated password (rCZ4Xnz78zbLY2Vh). Then PHPMyAdmin stopped logging in. It started to give the following error message, and it is the same ever since: Error MySQL said: Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your

Saving JSON string to MySQL database

青春壹個敷衍的年華 提交于 2019-12-18 11:43:16
问题 I have a JSON string with me {"name":"jack","school":"colorado state","city":"NJ","id":null} I need it to be saved in the Database. How could i do this ? My PHP code (I have only establish the connection to MySQL, but i am unable to save the records) <?php // the MySQL Connection mysql_connect("localhost", "username", "pwd") or die(mysql_error()); mysql_select_db("studentdatabase") or die(mysql_error()); // Insert statement mysql_query("INSERT INTO student (name, school,city) VALUES(---------

PhpStorm code completion doesn't show core classes/extensions

倾然丶 夕夏残阳落幕 提交于 2019-12-18 10:59:20
问题 I'm having trouble with PHPStorm. I just started new project created a couple of my own classes, in one of them I created PDO object. $this->cnn = new PDO("sqlite:db/base.db"); Now when I want to see what kind of methods this object has via crtl + whitespace, I get no suggestions. Then I tried to see the list of classes available to me with. $newClass = new And when I pressed ctrl + whitespace it only showed me the classes I created. So the question is, what do i need to do, to make PhpStorm

xampp phpmyadmin, Incorrect format parameter

Deadly 提交于 2019-12-18 10:44:18
问题 Im trying to import the database of my client side (wordpress platform) to localhost (using xampp). Other clients' sites work OK, except for this one particular site. When I want to import it, it just showed "phpMyAdmin - Error. Incorrect format parameter". The error image I tried googled it, but it's like no one having this error when importing a database. Do you guys have any idea? Feel free to ask anything, I'm not sure what information I need to provide since I just using quick exporting

XAMPP MySQL password setting (Can not enter in PHPMYADMIN)

风流意气都作罢 提交于 2019-12-18 10:36:15
问题 Firstly: I am cannot entering PHPMYADMIN at "localhost:80/phpmyadmin/" . Because when I install MySQL server mysql-5.5.36 with Username :root and Password : HamdunSoft . After that when I enter localhost:80/phpmyadmin/ it show me a message like below . " Error MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO) Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the MySQL server, and the server rejected

Python & XAMPP on Windows: how to?

99封情书 提交于 2019-12-18 10:25:08
问题 I have installed on my Win7x64 Xampp and Python 2.7. Now I'm trying to get the "power" of Python language... how can I do it? I've tried with mod_python and mod_wsgi but the first one does not exist for my version of Python, and when I try to start Apache after installing wsgi it gives me an error < Directory "\x93C:/wsgi_app\x94"> path is invalid I added a space between < and 'directory' to make the string visible here. So... Anyone knows if there is a little tutorial to install these