GROUP_CONCAT is nice function :)
example:
Select Group_Concat(Concat(Date_Format(x.mstDDate, '%d/%m/%Y'), '-', x.mstDSparepart,'-',x.mstDAttribute) Separator ';') From inv_masterdetail x Where x.mstID = a.mstID
MY NOTE
Tuesday, January 31, 2017
Monday, January 9, 2017
Error 1079: Windows could not start the Security Center service on Local Computer
Step 1: Set the security center and its dependencies services to run under Local Service account.
a. Click Start, type services.msc and hit enter.
b. Double click on Security Center, click Log On tab.
c. Select "This account" click Browse button, type Local Service and click ok.
d. Type the password and confirm the password and click ok.
a. Click Start, type services.msc and hit enter.
b. Double click on Security Center, click Log On tab.
c. Select "This account" click Browse button, type Local Service and click ok.
d. Type the password and confirm the password and click ok.
Thursday, January 5, 2017
Forgot password root mysql
step:
resetroot.err 2>&1
IF ERRORLEVEL 1 GOTO FEHLER
GOTO KEINFEHLER
- goto xampp folder and open folder mysql
- and edit file resetroot.bat
- add text in line area (location your data):
IF ERRORLEVEL 1 GOTO FEHLER
GOTO KEINFEHLER
Resetting MySQL Root Password with XAMPP on Localhost
Steps:
- Open your phpMyadmin dashboard
- go to user accounts
- on the user section Get the root user and click [ Edit privileges ]
- in the top section you will find change password button [ click on it ]
- make a good pass and fill 2 pass field
- now hit the Go button
- now open your xampp dir ( c:/xampp )
- to phpMyadmin dir [C:\xampp\phpMyAdmin]
- open [ config.inc.php ] file with any text editor
- find [ $cfg['Servers'][$i]['auth_type'] = 'config'; ]line and replace 'config' to ‘cookie’
- go to [ $cfg['Servers'][$i]['AllowNoPassword'] = true; ] this line change ‘true’ to ‘false’
Subscribe to:
Posts (Atom)