A
A
anti1262020-04-10 02:29:38
CodeIgniter
anti126, 2020-04-10 02:29:38

The site does not start problems with the database, what's the problem?

Hello, I uploaded the finished script to the host, bought a domain, did everything right in the database, but when I started the site, there was
a database error.
The specified database could not be selected: database name

Filename: core/MY_Controller.php

Line Number: 4
what could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-04-10
@Compolomus

I suspect there is codeigniter
There is a suspicion, you need to get into the config
/application/config/database.php
And change the driver there to mysqli
Well, in the same place, change the login password database settings from the host

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question