我有一个MySQL 'users‘表,其中包含以下列: uname、hash、salt和pwd。我正在测试一个PHP登录页面,它使用这个表来获得用户访问权限。我目前还没有系统设置来注册用户,所以测试通过手动添加数据到表中,具有以下.....pwd: 'password'function// Get the hash and salt for this user:
我的php容器没有连接到我的数据库容器,我遇到了问题。我的码头-Compose.yml : # this is the mysql data volume we are going to hostdocker volume to host the local development database
- dev_mysql_data:/var/lib/mysql"