Problème phpmyadmin
Access denied ---> phpmyadmin.conf
Système et matériels / Réseau Internet Wi-Fi

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
Reprise du message précédent
Salut,il me semble que tu avais créé un autre utilisateur, cf: http://www.mageialinux-online.org/forum/topic-11787+lamp.php#m116875
Si tu ne t'en souvient plus; une fois connecté à MySQL en console, tapes ceci:
Code SQL :
SELECT host, USER FROM mysql.USER;
Avec ceci tu as tous les utilisateurs de MySQL.
A+
Édité par Adrien.D Le 16/07/2012 à 15h52
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


xunil2003 Membre non connecté
-
- Voir le profil du membre xunil2003
- Inscrit le : 17/02/2011
- Groupes :
A l'installe de Mageia 2 j'ai formaté /home ; vue que j'ai changé de disque.
MariaDB [(none)]> CREATE USER 'moi'@'%' IDENTIFIED BY 'xxxxx';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> SELECT host, user FROM mysql.user;
+-----------+------+
| host | user |
+-----------+------+
| % | moi |
| % | root |
| 127.0.0.1 | root |
| ::1 | root |
| localhost | |
| localhost | root |
+-----------+------+
6 rows in set (0.00 sec)
MariaDB [(none)]> [block]
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> SELECT host, user FROM mysql.user;
+-----------+------+
| host | user |
+-----------+------+
| % | moi |
| % | root |
| 127.0.0.1 | root |
| ::1 | root |
| localhost | |
| localhost | root |
+-----------+------+
6 rows in set (0.00 sec)
MariaDB [(none)]> [block]
mais ca marche toujours pas quand je tape http://192.168.0.2/phpmyadmin/index.php et renseigne le login et mot de passe il me rèpond :
#2002 Connexion au serveur MySQL non permise
Merci.
Édité par xunil2003 Le 16/07/2012 à 19h18
- Pentium I7 960 (3.20 Ghz - 8 Coeurs) / MSI / 6 G0 ram / Lamp / Mandriva 2010.0 x64/ KDE 4 / 5 HDD de 2 To a 7200 tr et 1 de 160 Go Velociraptor a 10000 Tr.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.

Fopossum Membre non connecté
-
- Voir le profil du membre Fopossum
- Inscrit le : 15/07/2012
Code :
bind-address = 192.168.0.2
Édité par Fopossum Le 17/07/2012 à 11h36

xunil2003 Membre non connecté
-
- Voir le profil du membre xunil2003
- Inscrit le : 17/02/2011
- Groupes :
Le fichier n'existe pas.
[laurent@localhost ~]$ cat /etc/mysql/my.cnf
cat: /etc/mysql/my.cnf: Aucun fichier ou dossier de ce type
[laurent@localhost ~]$
cat: /etc/mysql/my.cnf: Aucun fichier ou dossier de ce type
[laurent@localhost ~]$
Faut il le créer ?
Merci.
Édité par xunil2003 Le 17/07/2012 à 12h43
- Pentium I7 960 (3.20 Ghz - 8 Coeurs) / MSI / 6 G0 ram / Lamp / Mandriva 2010.0 x64/ KDE 4 / 5 HDD de 2 To a 7200 tr et 1 de 160 Go Velociraptor a 10000 Tr.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.

Fopossum Membre non connecté
-
- Voir le profil du membre Fopossum
- Inscrit le : 15/07/2012
Fopossum :
/etc/mysql/my.cnf ou équivalent, je ne connais pas MariaDB
/etc/mysql/my.cnf ou équivalent, je ne connais pas MariaDB
Donc, tu fais :
Code :
cd /etc
find . -iname my.cnf
et tu vérifies le fichier en question. Peut-être qu'il ne s'appelle pas my.cnf avec MariaDB, je n'en sais rien. C'est sûrement dans la doc officielle.

xunil2003 Membre non connecté
-
- Voir le profil du membre xunil2003
- Inscrit le : 17/02/2011
- Groupes :
[root@localhost laurent]# cd /etc
[root@localhost etc]# find . -iname my.cnf
./my.cnf
[root@localhost etc]#
[root@localhost etc]# find . -iname my.cnf
./my.cnf
[root@localhost etc]#
[root@localhost etc]# cat my.cnf
# A generic my.cnf file based on /usr/share/mysql/my-medium.cnf
#
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
#
# The following options will be passed to all MySQL clients
[client]
user = root
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
user = mysql
datadir = /var/lib/mysql
port = 3306
socket = /var/lib/mysql/mysql.sock
pid-file = /var/run/mysqld/mysqld.pid
skip-external-locking
key_buffer = 16M
max_allowed_packet = 32M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
default-storage-engine = InnoDB
;collation_server = utf8_unicode_ci
;character_set_server = utf8
# plugins
plugin_dir=/usr/lib64/mysql/plugin
plugin-load=ha_archive.so;ha_blackhole.so;ha_federatedx.so
# activate the federated storage engine
federated
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
;rpl_semi_sync_master=semisync_master.so
;rpl_semi_sync_slave=semisync_slave.so
# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
skip-networking
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Replication Master Server (default)
# binary logging is required for replication
#log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1
# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
# MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
# where you replace <host>, <user>, <password> by quoted strings and
# <port> by the master's port number (3306 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
# MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even unsuccessfully, for example
# if you mistyped the password in master-password and the slave fails to
# connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and
# overridden by the content of the master.info file, unless you shutdown
# the slave server, delete master.info and restart the slaver server.
# For that reason, you may want to leave the lines below untouched
# (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
# Point the following paths to different dedicated disks
tmpdir = /var/tmp
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/lib/mysql/
#innodb_log_arch_dir = /var/lib/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
#bind-address=192.168.100.1
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
default-character-set = utf8
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
[mysql.server]
user=mysql
basedir=/usr
[mysqld_safe]
log-error=/var/log/mysqld/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[root@localhost etc]#
# A generic my.cnf file based on /usr/share/mysql/my-medium.cnf
#
# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server)
#
# The following options will be passed to all MySQL clients
[client]
user = root
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
user = mysql
datadir = /var/lib/mysql
port = 3306
socket = /var/lib/mysql/mysql.sock
pid-file = /var/run/mysqld/mysqld.pid
skip-external-locking
key_buffer = 16M
max_allowed_packet = 32M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
default-storage-engine = InnoDB
;collation_server = utf8_unicode_ci
;character_set_server = utf8
# plugins
plugin_dir=/usr/lib64/mysql/plugin
plugin-load=ha_archive.so;ha_blackhole.so;ha_federatedx.so
# activate the federated storage engine
federated
# http://dev.mysql.com/doc/refman/5.5/en/replication-semisync.html
;rpl_semi_sync_master=semisync_master.so
;rpl_semi_sync_slave=semisync_slave.so
# Others options for Semisynchronous Replication
;rpl_semi_sync_master_enabled=1
;rpl_semi_sync_master_timeout=10
;rpl_semi_sync_slave_enabled=1
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
skip-networking
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Replication Master Server (default)
# binary logging is required for replication
#log-bin=mysql-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1
# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
# MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
# where you replace <host>, <user>, <password> by quoted strings and
# <port> by the master's port number (3306 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
# MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even unsuccessfully, for example
# if you mistyped the password in master-password and the slave fails to
# connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and
# overridden by the content of the master.info file, unless you shutdown
# the slave server, delete master.info and restart the slaver server.
# For that reason, you may want to leave the lines below untouched
# (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
# Point the following paths to different dedicated disks
tmpdir = /var/tmp
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 4M
#bdb_max_lock = 10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/lib/mysql/
#innodb_log_arch_dir = /var/lib/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
#bind-address=192.168.100.1
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
default-character-set = utf8
[isamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
[mysql.server]
user=mysql
basedir=/usr
[mysqld_safe]
log-error=/var/log/mysqld/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[root@localhost etc]#
Faut il que je remplace la ligne "#bind-address=192.168.100.1" par "bind-address = 192.168.0.2 " ?
Merci.
- Pentium I7 960 (3.20 Ghz - 8 Coeurs) / MSI / 6 G0 ram / Lamp / Mandriva 2010.0 x64/ KDE 4 / 5 HDD de 2 To a 7200 tr et 1 de 160 Go Velociraptor a 10000 Tr.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.

Fopossum Membre non connecté
-
- Voir le profil du membre Fopossum
- Inscrit le : 15/07/2012
Nan mais sérieux... Les gens qui apprennent aux débutants à utiliser cat, on devrait les pendre !
cat sert à concaténer des fichiers ensemble, pas uniquement à les afficher. Il se trouve que, par hasard, la sortie standard étant l'écran, cat mon fichier affiche effectivement le contenu du fichier.
un :
Code :
grep bind-address /etc/my.cnf
Suffisait largement pour voir que oui, ça peut-être une bonne idée d'éditer le fichier, de modifier la ligne et de relancer le daemon en suivant.
Et ça aurait évité d'avoir l'intégralité du fichier commenté dont, n'ayons pas peur des mots, on se tamponne allégrement pour la résolution du problème qui nous occupe.

xunil2003 Membre non connecté
-
- Voir le profil du membre xunil2003
- Inscrit le : 17/02/2011
- Groupes :
J'ai remplacé la ligne "#bind-address=192.168.100.1" par "bind-address = 192.168.0.2 " avec nano puis j'ai redémarré apache.
[root@localhost etc]# /etc/init.d/mysqld restart
Restarting mysqld (via systemctl): [ OK ]
[root@localhost etc]#
[root@localhost etc]# grep bind-address /etc/my.cnf
bind-address=192.168.0.2
[root@localhost etc]#
Mais c'est pareil hélas, quand je tape dans le navigateur http://192.168.0.2/phpmyadmin/index.php il refuse de ce connecter avec le nouveau identifiant et mot de passe ??
Il me répond :
#2002 Connexion au serveur MySQL non permise
Merci.
Édité par xunil2003 Le 17/07/2012 à 14h02
- Pentium I7 960 (3.20 Ghz - 8 Coeurs) / MSI / 6 G0 ram / Lamp / Mandriva 2010.0 x64/ KDE 4 / 5 HDD de 2 To a 7200 tr et 1 de 160 Go Velociraptor a 10000 Tr.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.

Adrien.D Membre non connecté
-
- Voir le profil du membre Adrien.D
- Inscrit le : 30/05/2011
- Site internet
- Groupes :
peux-tu te connecter en console avec cet utilisateur (en local), avec le mot de passe saisi au moins ?
Code BASH :
mysql -u user -ppassword
Si tu es connecté, vérifies bien que tu es connecté avec le bon utilisateur:
Code SQL :
SELECT CURRENT_USER();
Config : PC Fixe : X470 GAMING PRO- AMD Ryzen 5 2600X - 16Go RAM - Radeon RX 560 (Pilote libre) - Gentoo Linux - GNOME Desktop - Kernel 5.10 LTS
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !
Ancien Webmaster de MageiaLinuxOnline. Les remplaçants assurent !


xunil2003 Membre non connecté
-
- Voir le profil du membre xunil2003
- Inscrit le : 17/02/2011
- Groupes :
pas vraiment.
[root@localhost etc]# mysql -u moi -xxxxx
mysql: unknown option '-x'
[root@localhost etc]#
mysql: unknown option '-x'
[root@localhost etc]#
[root@localhost etc]# mysql -u moi xxxxx
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'xxxxxx'
[root@localhost etc]#
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'xxxxxx'
[root@localhost etc]#
[root@localhost etc]# mysql -u moi -pxxxxxxxxx
ERROR 1045 (28000): Access denied for user 'moi'@'localhost' (using password: YES)
[root@localhost etc]#
ERROR 1045 (28000): Access denied for user 'moi'@'localhost' (using password: YES)
[root@localhost etc]#
[root@localhost etc]# mysql -u moi
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 3
Server version: 5.5.23-MariaDB Mageia - MariaDB Community Edition (GPL)
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MariaDB [(none)]> SELECT CURRENT_USER();
+----------------+
| CURRENT_USER() |
+----------------+
| @localhost |
+----------------+
1 row in set (0.00 sec)
MariaDB [(none)]>
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 3
Server version: 5.5.23-MariaDB Mageia - MariaDB Community Edition (GPL)
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
MariaDB [(none)]> SELECT CURRENT_USER();
+----------------+
| CURRENT_USER() |
+----------------+
| @localhost |
+----------------+
1 row in set (0.00 sec)
MariaDB [(none)]>
Merci.
Édité par xunil2003 Le 17/07/2012 à 14h22
- Pentium I7 960 (3.20 Ghz - 8 Coeurs) / MSI / 6 G0 ram / Lamp / Mandriva 2010.0 x64/ KDE 4 / 5 HDD de 2 To a 7200 tr et 1 de 160 Go Velociraptor a 10000 Tr.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
- Pentium I7 950 (3.07 Ghz - 8 Coeurs)/ Asus Sabertooth X58 / 12 Go Ram / Nvidia GeForce GTX 260 (3D)/ RealTek High Definition Audio /Renesas Electronics USB 3.0 Host Controller / Marvell 91xx SATA 6G Controlleur / Mageia 2 x86_64/ KDE 4 / Windows 7 x64 /3 HDD de 2 To a 7200 tr / Virtualbox 4.12.
- Pentium I5 Sandry bridge (5 Coeurs)/ Gigabyte / 12 G0 ram / Mageia 1 x64 / KDE 4 / 2 HDD de 1 To a 7200 tr.
- MSI GT780DX-644-Fr / I7 2.2 Ghz / 12 Mo Ram / Mageia 1 x64 / Windows 7 x64 / 2 HDD 750 Go a 7200 Tr / Nvidia / 17.2 Pouces.
- DreamPlug / Marvel 1.22 Ghz / Architecture ARM / 512 Mo / Carte-sd 16 Go / Debian Squeeze / 5 Watts --> appellé également plug computer
Proverbe : Windows a un pépin, Linux un noyau.
Accro de linux.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie