phpmyadmin – Workbench connects to mysql service but xampp does not connect

Workbench connects with mysql. I have several databases out there, for Windows cmd, I can also enter and modify the databases. But when I specifically use xampp with the xampp shell to enter the databases after entering the user and password (mysql -h localhost -u root -pmi_key), the following error appears: ERROR 2003 (HY000): Can not connect to MySQL server on localhost (10061)
The same goes for phpmyadmin. "The connection has not been established, the settings are incorrect." I want to manipulate the phpmyadmin databases but that will not allow it. As data, the mysql service runs on port 3306 while xampp is configured on port 3307. Previously, I had no problem, it all started when I changed the password in phpmyadmin and that I did not want to enter. To enter the database by cmd windows and workbench, I have a password and this does not cause me any problems.

How to configure XAMPP to allow it to download plugins and themes?

It's been a long time since I've been using WordPress and I'm coming back to it. I have installed XAMPP on my Mac (10.14.2) and I have installed WordPress 5.1.1 successfully.

However, I can not understand how to configure things to download and install plugins.

Does anyone know how or does it know a good guide for configuring XAMPP and WordPress so that I can do it?

xampp – Portable Apache Configuration VirtualDocumentRoot on Windows 10

I have the following code in XAMPPof httpd-vhosts.conf:


      
      
      
      Options Index FollowSymLinks includes ExecCGI
AllowOverride All
# Require all granted
Require local
Requires the IP 192.168.35



       
       
       
       DocumentRoot "/ dev / xampp / htdocs"
ServerName localhost



       
       
       
       ServerAlias ​​* .192.168.35.2.xip.io
VirtualDocumentRoot "d: / dev / www / vhosts /% - 7"
# ^ it works!

That works well. Please note the DocumentRoot in the first virtualhost without the drive letter and the VirtualDocumentRoot to have one in the second.

If I try to delete the drive letter of the second virtual server, Apache fails to start. So:


       
       
       
       ServerAlias ​​* .192.168.35.2.xip.io
VirtualDocumentRoot "/ dev / www / vhosts /% - 7"
# ^ it does not work!

Any way to use the path without a drive letter with VirtualDocumentRoot just as it works for the regular DocumentRoot? Better still, are relative paths possible and, if so, what would they be relative to? It's so much XAMPP is really portable because able to be used on a USB key.

UBUNTU: install new software (XAMPP)

I have an error message displayed when installing the xampp software:
"./Xampp-linux-x64-5.6.40-0-installer.run:
1: ./xampp-linux-x64-5.6.40-0-installer.run:
Syntax error: unquoted quoted string "Enter the description of the image here

localhost – change the wordpress download url to subdomain on local xampp

First of all, I'm sorry for the bad english language

I want to make a site using wp on local with xampp 3.2.2 (win10)

To avoid future problems (for example, changing domain after a live transition or changing the path of the media file in the database), install a virtual host and a subdomain by inserting this code in httpd-vhosts.conf

NomVirtualHost *: 80

    ServerName xyz.com
ServerAlias ​​xyz.com
ServerAdmin admin@xyz.com
DocumentRoot "C: / xampp / htdocs / xyz"




    
    
    
    ServerName dl.xyz.com
ServerAlias ​​dl.xyz.com
ServerAdmin admin@dl.xyz.com
DocumentRoot "C: / XAMPP / htdocs / xyz / dl"

& this code to httpd.conf

Alias ​​/ xyz "C: / XAMPP / htdocs / xyz /"

    AllowOverride All
Order allow, refuse
Allow everyone

  • then I check the subdomain to make sure it works by doing a simple index.html in "dl" DIR and (dl.xyz.com) work properly.
  • then i install wp and after some configuration i am this step of the article to change the default download path of WordPress:

https://www.webnots.com/move-wordpress-images-folder-to-subdomain/

This is my database change:

upload_path:

C: / xampp / htdocs / xyz / dl / uploads

upload_url_path:

http://dl.xyz.com/uploads

I change the permission "dl" DIR according to this video:
https://www.youtube.com/watch?v=mX2WsUfW_x4

Now, when I want to download the file to the media, this error appeared:

Unable to create directory C: / xampp / htdocs / xyz / dl / uploads / 2019/02. Is its parent directory writable by the server?

How to transfer / migrate the complete database with data from MS SQL Studio to XAMPP?

I'm using Microsoft SQL Studio, where my database and all the tables are. I just want to transfer / migrate the whole to XAMPP, how to proceed?

html – Error "Attempt to get the property" fetch_row "from non-object in C: xampp htdocs connection connection3.php to line 28"

good night.
I study design and they let me plan a PHP database. The problem is that I get a "Notice: try to get the property" fetch_row "from non-object in C: xampp htdocs conexion conexion3.php online 28 "when I open it in the browser. This refers to the line "$ rows = $ result-> fetch_row;"
I do not know how to solve it because, depending on the format used, I changed only the information in the database.
The complete code is as follows:

connect_error) {
die ("Error in connection". $ myconexion-> connect_error);
}
if not {
echo "The connection has been established successfully …". $ myconexion-> host_info. "

";
}

?>

Connection example 2

NameOfficial number

query ("select name, nempleado from auto_veloz");

$ rows = $ result-> fetch_row;
if ($ rows> = 1) {

while ($ row = $ result-> fetch_assoc ()) {
?>


     
    
    

to close ();

?>

Undetected error: calling undefined function mysql_connect () in C: xampp htdocs Mastometer inc functionBD.php: 23

good day to all, I create a database for an imported mobile phone, I created my connection on the basis of the manual of UNIVERSITY, but I have a connection error, which can to be due to xampp version, etc.?enter the description of the image here

and tried everything to change Mysql by mysqli and what can I be fallamado?
Thank you very much, have a nice day.

Can not run the APACHE server on my mac under XAMPP

I'm trying to run Apache on my Mac but I still have the error below:

ERROR: Unable to start "apache": unable to start service: httpd: syntax error on line 522 of /opt/lampp/etc/httpd.conf: can not open configuration file / opt / lampp / etc / extra / httpd-xampp. conf: No file or directory of this type

I tried to find the raw code for httpd-xampp.conf for mac but I could not find it anywhere. It would be great if you could help me with that.

xampp – you have to open port 80 twice to have an accessible website

You have a website configured with the xampp server.
The website is not accessible from other networks unless I open port 80 twice. Suppose the internal IP address of the servers is 192.168.1.17. So I need to open port 80 for this IP address and access the justso website. I need to reopen port 80 again on any other device connected to this network.

Ideas what's wrong?

Server using an Ethernet connection, the wifi is stopped.