PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, August 13, 2022

[FIXED] why when i run mysql.exe (which is located in xampp/mysql/bin) only appears for a moment then (the program) disappears?

 August 13, 2022     database, mysql, xampp     No comments   

Issue

why when i run mysql.exe which is located in

C:xampp\mysql\bin

, the program only appears for a moment then disappear. the program that should appear contains(....... MariaDb) I've tried running the program as administrator. And my MySQL program can run when i run it on XAMPP control panel


Solution

You are NOT supposed to double click on it and expect a login window to maigically pop up. Instead, open a CMD terminal and launch it through command-line interface. Before trying the command, it would be better to make sure the path C:\xampp\mysql\bin is registered in the PATH system variable.Then try this in CMD:

mysql -u root -p


Answered By - blabla_bingo
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing