title: MySQL said: Cannot connect: invalid settings
body: <p>last time I changed my php version that's why I copied and replaced the old php and apache file with two other apache and php file from other xammp the localhost working well it redirect to the dashboard well but there are those error with the MySQL.here are the list of some from the log file.</p>
  <pre><code>2021-08-11  1:45:42 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
  2021-08-11  1:45:42 0 [Note] InnoDB: Uses event mutexes
  2021-08-11  1:45:42 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
  2021-08-11  1:45:42 0 [Note] InnoDB: Number of pools: 1
  2021-08-11  1:45:42 0 [Note] InnoDB: Using SSE2 crc32 instructions
  2021-08-11  1:45:42 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
  2021-08-11  1:45:42 0 [Note] InnoDB: Completed initialization of buffer pool
  2021-08-11  1:45:42 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288
  </code></pre>
  <p><a href="https://i.stack.imgur.com/S3S1e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S3S1e.png" alt="enter image description here" /></a></p>