About this capture
COLLECTED BY
Collection: Ukrainian Web
{{ message }}
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
SERIAL
Spinning up an instance;
import ( "github.com/dolthub/go-mysql-server/auth" "github.com/dolthub/go-mysql-server/memory" "github.com/dolthub/go-mysql-server/server" "github.com/dolthub/go-mysql-server/sql" "github.com/dolthub/go-mysql-server/sql/information_schema" ) func main() { engine := sqle.NewDefault( sql.NewDatabaseProvider( memory.NewDatabase(TEST_DB_MYSQL_DATABASE), information_schema.NewInformationSchemaDatabase(), ), ) s, err := server.NewDefaultServer(server.Config{ Protocol: "tcp", Address: "127.0.0.1:3306", Auth: auth.NewNativeSingle(TEST_DB_MYSQL_USER, TEST_DB_MYSQL_PASSWORD, auth.AllPermissions), }, engine) if err != nil { panic(err) } s.Start() }
Then connecting
mysql> CREATE TABLE gizmos (id serial); ERROR 1105 (HY000): syntax error at position 31 near 'serial' mysql>
The text was updated successfully, but these errors were encountered:
Thanks for the feature request, @suessflorian
Until we get to this, please use the full type description: BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
Sorry, something went wrong.
No branches or pull requests
Spinning up an instance;
Then connecting
The text was updated successfully, but these errors were encountered: