Questions tagged [database-create]

21 questions
0
votes
0 answers

Memory Allocation while creating database in SQL Server

For a bench-marking project I am currently working on, requires creating multiple databases on SQL Server. I am using Enterprise Edition instance on a VM, that has 8GB RAM and 4 core processor. I wanted to create dummy databases, with no data in it.…
0
votes
2 answers

No such table: table1 error when copying database from assets

I'm having a database stored in assets/databases named myDatabase.db and I want to copy it to the internal storage using the code in here: public class DatabaseOpener extends SQLiteOpenHelper { private static String DB_PATH; private static String…
Andrei Zamfir
  • 143
  • 1
  • 3
  • 11
0
votes
1 answer

CodeIgniter : use Database Forge to test if DB exists

I'm using CodeIgniter 3.1.0 to develop an app. In order to improve its installation, I've written an Install_Controller, and an Install_Model. I'm using Database Forge class to manage the database. Thanks to it, I can create a DB, but I can't check…
Fafanellu
  • 424
  • 4
  • 20
0
votes
2 answers

Create Database Programmatically

I am trying to create a database programmatically in C#. I have scripts for database creation which work fine when I run them from SQL Server Management Studio. However, when I run the same scripts from my C# application, the following error…
rajshades
  • 511
  • 4
  • 9
  • 21
0
votes
1 answer

Creating a database in SQLite before opening

I wish to query my username against an already existing table in the database. But when I executed my code, my app force closed due to "SQLite returned error code: 1, msg = near "=": syntax error. Here is the DBAdapter.java file package…
tmj
  • 1,750
  • 2
  • 19
  • 34
-2
votes
3 answers

Create mysql database. Can't log in

Ok, I feel ridiculous because I have done this before but now I can't remember how. I need to create a new mysql database. But how do I log in to do that? I'm pretty sure that I have a root user and either no password or else a password that I can…
user984003
  • 28,050
  • 64
  • 189
  • 285
1
2