Comandos:
=== htdocsphpmyadminlibrariesconfig.default.php ===
$cfg[‘Servers’][$i][‘AllowNoPassword’] = true;
=== C:ProgramDataMySQL8my.ini ===
# The default authentication plugin to be used when connecting to the server
#default_authentication_plugin=caching_sha2_password
default_authentication_plugin=mysql_native_password
=== CREATE USER (Mysql CMD) ===
CREATE USER ‘VOCE_YOU’@’localhost’ IDENTIFIED BY ‘SEU_PASSWORD’;
GRANT ALL PRIVILEGES ON *.* TO ‘VOCE_YOU’@’localhost’;
==== sql myAdmin ====
use NOME_DATABASE;
CREATE TABLE TABELA(
cod_TABELA int AUTO_INCREMENT,
campo varchar(25),
campo int(20),
PRIMARY KEY (cod_TABELA)
);
==== connect.php ====
in coments
Nguồn:https://danhnhan.vn/
Xem thêm Bài Viết:
- Điểm danh các gương mặt sáng giá trong đội hình MU FO3
- nhạc sống tuyển chọn cực hay-phong cảnh đẹp-không quảng cáo
- Thanh Xuân Nhất Định Phải Ghé Sapa Một Lần Trong Đời | Du Lịch Tây Bắc | Du Lịch SayHi
- Du lịch Sapa 2 ngày 3 đêm giá siêu rẻ (Hotline 0934507489)
- [Tây Bắc Vlogs] Cảnh Đẹp Hùng Vĩ Tây Bắc | Con người và lối sông văn mình đẹp đẽ vùng cao
https://danhnhan.vn/giai-tri
Xem thêm Bài Viết:
- Điểm danh các gương mặt sáng giá trong đội hình MU FO3
- nhạc sống tuyển chọn cực hay-phong cảnh đẹp-không quảng cáo
- Thanh Xuân Nhất Định Phải Ghé Sapa Một Lần Trong Đời | Du Lịch Tây Bắc | Du Lịch SayHi
- Du lịch Sapa 2 ngày 3 đêm giá siêu rẻ (Hotline 0934507489)
- [Tây Bắc Vlogs] Cảnh Đẹp Hùng Vĩ Tây Bắc | Con người và lối sông văn mình đẹp đẽ vùng cao
<?php
$user='victor';
$pass="";
try {
$dbh = new PDO('mysql:host=localhost;dbname=ambiente', $user, $pass);
print "<b><font color=green>Conectado ao BD</font><b>";
foreach($dbh->query('SELECT * from youtube') as $row) {
print "<br/>";
print_r($row);
}
$dbh = null;
} catch (PDOException $e) {
print "Error!: " . $e->getMessage() . "<br/>";
die();
}
?>
how if in centos ?
Just use
ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your password here';
ТЫ ПРОСТО ГЕНИЙ СПАСИБО ТЫ ЛУЧШИЙ ЛЮБЛЮ ТЕБЯ ЦЕЛУЮ
life saver
Ajudou muito, obrigado meu parceiro!! Resolveu completamente meu problema!
Gracias por el dato….
This is great tutorial and it help me to overcome my problem
In service setting MySQL not available
Thanks man
can you plzz tell the steps you have done at 2:00
can anyone help me and tell me what is the program he used to open the file( config.default)
Nome da música? por favor 🙂
en el MySQL 8.0 Command Line que Password es??
Funcionou, muito obrigado!
Great…It works for me. Thanks. 🙂
i don't get 2:00….. cmon man i dont understand spanish
its in spanish u dick.
Olá, estou com esse mesmo problema, porém uso o linux e tenho o laradock onde estão todos os containes, mas não achei essas configurações, pode m ajudar
Mil likes Valeu!!!!
estou tendo esse problema so que no heidiSQL da pra da uma força?
Thanks, it helped to enter MyAdmin. But I wonder what was wrong with the root user in the first place…
gracias genio !!
Thank you very much. You very help me.
Muchas gracias, maestro. Me ha resultado muy útil.
Muito obrigado !!!!! Resolveu meu problema. Parabéns pelo seu trabalho.
Thank u its worked for me
Muito obrigado, amigo! Salvou o dia.
Seria melhor se vc falasse =)