简体   繁体   中英

Mysql, phpmyadmin, create database

I am currently having an issue where a template script needs me to edit the db name, username, and password. I have created a database, however I can't seem to find a way to create a username/password, any suggestions? Additionally, I am using version 3.5.1, released earlier today.

Use CREATE USER to create a user, and GRANT to grant access to the server, databases, and/or tables.

That, or modify the tables in the mysql database and flush privileges. But don't do that.

What hosting service do you use? I have a Yahoo web service and in order for me to create a new user, I have to create it in PHPMyAdmin but to set the password, I have to go the the Yahoo webmaster control panel (after creating user). Backwards and more complicated than it needs to be but this could be a similar situation with your web host

EDIT

Additionally, Yahoo prevents me from using CREATE to create a new database from script; I can only do this though phpMyAdmin. Again, this could be a similar situation preventing your from running this script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM