Answer the question
In order to leave comments, you need to log in
How to run webpack-dev-server on different domain and change it in hosts?
I khamenid domain in hosts file
127.0.0.1:8080 domain.com
But it didn't help
Here is my webpack.config config
module.exports = merge(common, {
mode: 'development',
devtool: 'source-map',
devServer: {
historyApiFallback: true,
contentBase: './dist',
hot: true,
host: '0.0.0.0',
port: 80
},
});
Answer the question
In order to leave comments, you need to log in
not connected to baseMaybe it has something to do with the fact that you are passing a variable instead of a username into the connection that is not initialized in any way and into which the name of the database is later written and which has the incorrect name db_table ?
how to fix?Pass the correct username, correct password to the connection, and verify that this user has the required access rights.
// (“хост”, “имя пользователя”, “пароль”)
mysql_connect("localhost", $db_table, "901kiril")
^^^ проблема ^^^
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question