Bootstrap Percona first node
sudo /etc/init.d/mysql bootstrap-pxc
para probar que todo funcionó:
mysql -u <user> -p
#show status like 'wsrep%';
``` | |
ssh-keygen -o | |
``` |
Bootstrap Percona first node
sudo /etc/init.d/mysql bootstrap-pxc
para probar que todo funcionó:
mysql -u <user> -p
#show status like 'wsrep%';
load data local infile 'file.csv' into table table
fields terminated by ','
enclosed by '"'
lines terminated by '\n'
(column1, column2, column3,...)
SELECT order_id,product_name,qty
FROM orders
WHERE foo = 'bar'
INTO OUTFILE '/var/lib/mysql-files/orders.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
error: pack-objects died of signal 9
error: remote unpack failed: eof before pack header was fully read
error: failed to push some refs to 'user@server:url'
para solucionar este error:
git config --global pack.windowMemory "32m"
en /etc/mysql/mysql.conf.d/mysqld.cnf
o /etc/mysql/mariadb.conf.d/50-server.cnf
[mysqld]
default_time_zone='+00:00'
sudo ufw enable
sudo ufw disable
sudo ufw status
Source: http://www.repairmsexcel.com/blog/solved-microsoft-excel-file-is-locked-for-editing-in-use-issue
How to Fix Microsoft Excel File locked for Editing?
In order to solve this issue, we will disconnect the user from the file and allow another user to get the complete accessibility, follow the below given step:
Step 1: First you have to note down the path to the file, and the file name.
Step 2: Open the run dialogue box, press the Windows Key + R from your keyboard to open up the Run dialog box.
Visto aquí: https://dev.to/oneearedmusic/access-denied-reset-mysql-root-user-password-2hk4
sudo /etc/init.d/mysql stop sudo mysqld_safe --skip-grant-tables --skip-networking & mysql -u root
use mysql; UPDATE user SET authentication_string=PASSWORD("securepassword") where User='root'; UPDATE user SET plugin="mysql_native_password"; FLUSH PRIVILEGES;
select
p4.parties_id as parent4_id,
p3.parties_id as parent3_id,
p2.parties_id as parent2_id,
p1.parties_id as parent_id,
p1.id as party_id,
p1.name,
concat(
if(p4.parties_id,p4.parties_id,''),',',