Dernier message de la page précédente :
Ok.Mais comment purger les fichiers de conf : une commande console ?
Dernier message de la page précédente :
Ok.Code : Tout sélectionner
Les NOUVEAUX paquets suivants vont être installés :
apache2 apache2-bin{a} apache2-data{a} apache2-utils{a}
libapache2-mod-php libapache2-mod-php8.3{a} libapr1t64{a}
libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libaprutil1t64{a}
libevent-pthreads-2.1-7t64{a} libhtml-template-perl{a} libmecab2{a}
mecab-ipadic{a} mecab-ipadic-utf8{a} mecab-utils{a} mysql-client-8.0{a}
mysql-client-core-8.0{a} mysql-common{a} mysql-server mysql-server-8.0{a}
mysql-server-core-8.0{a} php php-common{a} php-mysql php8.3{a}
php8.3-cli{a} php8.3-common{a} php8.3-mysql{a} php8.3-opcache{a}
php8.3-readline{a}
0 paquets mis à jour, 31 nouvellement installés, 0 à enlever et 11 non mis à jour.
Il est nécessaire de télécharger 35,6 Mo d'archives. Après dépaquetage, 270 Mo seront utilisés.
Voulez-vous continuer ? [Y/n/?]
...
Code : Tout sélectionner
mysqld will log errors to /var/log/mysql/error.logCode : Tout sélectionner
2025-03-03T11:36:30.195632Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.41-0ubuntu0.24.04.1) initializing of server in progress as process 16999
2025-03-03T11:36:30.205544Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-03-03T11:36:31.433945Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-03-03T11:36:34.746745Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2025-03-03T11:36:37.116921Z 6 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.41-0ubuntu0.24.04.1).
2025-03-03T11:36:42.546061Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-0ubuntu0.24.04.1) starting as process 17051
2025-03-03T11:36:42.582331Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-03-03T11:36:42.958140Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-03-03T11:36:43.368319Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-03-03T11:36:43.368373Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-03-03T11:36:43.379093Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2025-03-03T11:36:43.411359Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
2025-03-03T11:36:43.411408Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-0ubuntu0.24.04.1' socket: '/tmp/tmp.VKoC9hKTfb/mysqld.sock' port: 0 (Ubuntu).
2025-03-03T11:36:43.448730Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.41-0ubuntu0.24.04.1).
2025-03-03T11:36:45.899788Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-0ubuntu0.24.04.1) (Ubuntu).
2025-03-03T11:36:46.988275Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-0ubuntu0.24.04.1) starting as process 17127
2025-03-03T11:36:47.001610Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-03-03T11:36:48.008025Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-03-03T11:36:48.340778Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-03-03T11:36:48.340835Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-03-03T11:36:48.350046Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2025-03-03T11:36:48.400229Z 7 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.41-0ubuntu0.24.04.1).
2025-03-03T11:36:48.413320Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-03-03T11:36:50.871761Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.41-0ubuntu0.24.04.1) (Ubuntu).
2025-03-03T11:36:51.846313Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.41-0ubuntu0.24.04.1) starting as process 17294
2025-03-03T11:36:51.863049Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2025-03-03T11:36:53.149869Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2025-03-03T11:36:53.520082Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2025-03-03T11:36:53.520145Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2025-03-03T11:36:53.583967Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2025-03-03T11:36:53.584115Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.41-0ubuntu0.24.04.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu).
Code : Tout sélectionner
sudo aptitude install apache2 php libapache2-mod-php mysql-server php-mysql
Code : Tout sélectionner
Apache2 Default Page
It works! Code : Tout sélectionner
Impossible de se connecter au serveur mysql.
Code : Tout sélectionner
msqli::real_connect(): (HY000/1698): Access denied for user 'root'@'localhost'
Code : Tout sélectionner
sudo mysql -u rootCode : Tout sélectionner
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)Code : Tout sélectionner
sudo aptitude install apache2 php libapache2-mod-php mysql-server php-mysql