0
使用CodeIgniter我想有东西similair:Codeigniter,create tables and users for MySQL创建表,并授予权限新用户
但我需要添加新表新的用户名和密码。 像
$this->load->dbforge()
if ($this->dbforge->create_table('my_db'))
{
echo 'Database created!';
}
,并添加新用户premission,并传递给表: 'MY_DB' 因为只有读(SELECT)! 如果有人能帮助我,这应该是伟大的!