Está aparecendo os seguintes erros nas classes "conexao.php", "inserir-aluno.php" e "lista-alunos.php":
- Classe "conexao.php":
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 26 file is not a database in D:\Fábio\Alura\PHP\Workspace\conexao.php:12 Stack trace:
#0 D:\Fábio\Alura\PHP\Workspace\conexao.php(12): PDO->exec('CREATE TABLE st...')
#1 {main} thrown in D:\Fábio\Alura\PHP\Workspace\conexao.php on line 12
- Classe "inserir-aluno.php":
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 26 file is not a database in D:\Fábio\Alura\PHP\Workspace\inserir-aluno.php:15 Stack trace:
#0 D:\Fábio\Alura\02 - PHP\08\Workspace\inserir-aluno.php(15): PDO->exec('INSERT INTO stu...')
#1 {main} thrown in D:\Fábio\Alura\02 - PHP\08\Workspace\inserir-aluno.php on line 15
- Classe "lista-alunos.php":
PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 26 file is not a database in D:\Fábio\Alura\PHP\Workspace\lista-alunos.php:8 Stack trace:
#0 D:\Fábio\Alura\02 - PHP\08\Workspace\lista-alunos.php(8): PDO->query('SELECT * FROM s...')
#1 {main} thrown in D:\Fábio\Alura\02 - PHP\08\Workspace\lista-alunos.php on line 8
Alguém sabe como resolver?