Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DHpanel creates databases not in UTF8 format #30

Open
torbengb opened this issue Oct 17, 2020 · 1 comment
Open

DHpanel creates databases not in UTF8 format #30

torbengb opened this issue Oct 17, 2020 · 1 comment
Assignees
Labels
2prio Medium Do when there are no prio1 issues. bug Something isn't working

Comments

@torbengb
Copy link
Owner

torbengb commented Oct 17, 2020

CREATE DATABASE `foo` DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

CREATE TABLE `bar` (
  `baz` int NOT NULL AUTO_INCREMENT
  PRIMARY KEY (`id`)
) DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

DH won't let me run the first statement.

@torbengb torbengb added bug Something isn't working 2prio Medium Do when there are no prio1 issues. labels Oct 17, 2020
@torbengb torbengb self-assigned this Oct 17, 2020
@torbengb
Copy link
Owner Author

torbengb commented Oct 19, 2020

  • Need to change the database according to the following.
  • Need to document this (wiki and possibly /docs).

You are correct, databases can be created in the DreamHost panel only.
Databases cannot be created via SSH or phpMyAdmin. View the following
article for further details:
https://help.dreamhost.com/hc/en-us/articles/221621388-Managing-existing-MySQL-databases

You can change the database collations using phpMyadmin. You will need to
select the database name and then you can set you MySQL connection
collation via a "pull down" menu in the left most column of the right
frame of the default page that is displayed. You can connect using
phpMyadmin by following these steps:
https://help.dreamhost.com/hc/en-us/articles/214395638

This article can also be useful:
https://dev.mysql.com/doc/refman/8.0/en/charset-connection.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2prio Medium Do when there are no prio1 issues. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant