How to open again a database after being closed and deleted on SQLITE3What does 'super' do in Python?How to list the tables in a SQLite database file that was opened with ATTACH?How do I remove/delete a folder that is not empty with Python?How do I connect to a MySQL Database in Python?How to get a list of column names on sqlite3 / iPhone?How to set Sqlite3 to be case insensitive when string comparing?How can I open multiple files using “with open” in Python?Sqlite3, OperationalError: unable to open database fileRunning into issues with PyOpenGL and PyQt5 on OSXmultiple gui python qt and switch between themDynamically add rows and columns in QTable in pyQT5

How to reclaim personal item I've lent to the office without burning bridges?

Why do Martians have to wear space helmets?

Users forgotting to regenerate PDF before sending it

What are the consequences for a developed nation to not accept any refugees?

When do flights get cancelled due to fog?

Array or vector? Two dimensional array or matrix?

I don't want to be introduced as a "Minority Novelist"

Four ships at the ocean with the same distance

What was the significance of Spider-Man: Far From Home being an MCU Phase 3 film instead of a Phase 4 film?

E12 LED light bulb flickers when OFF in candelabra

Does anyone have a method of differentiating informative comments from commented out code?

Did William Shakespeare hide things in his writings?

What is the highest level of accuracy in motion control a Victorian society could achieve?

Interpretation of non-significant results as "trends"

How did the IEC decide to create kibibytes?

Why SQL does not use the indexed view?

Why do people prefer metropolitan areas, considering monsters and villains?

What does "frozen" mean (e.g. for catcodes)?

Why am I getting unevenly-spread results when using $RANDOM?

Who goes first? Person disembarking bus or the bicycle?

What purpose does mercury dichloride have in fireworks?

What was the nature of the known bugs in the Space Shuttle software?

What does "spinning upon the shoals" mean?

Examples of fluid (including air) being used to transmit digital data?



How to open again a database after being closed and deleted on SQLITE3


What does 'super' do in Python?How to list the tables in a SQLite database file that was opened with ATTACH?How do I remove/delete a folder that is not empty with Python?How do I connect to a MySQL Database in Python?How to get a list of column names on sqlite3 / iPhone?How to set Sqlite3 to be case insensitive when string comparing?How can I open multiple files using “with open” in Python?Sqlite3, OperationalError: unable to open database fileRunning into issues with PyOpenGL and PyQt5 on OSXmultiple gui python qt and switch between themDynamically add rows and columns in QTable in pyQT5






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I create a database, then I closed and finally delete it with os.remove, but if I try to create the same database with the same line and then insert a new table the compiler says that I cannot operate in a closed database. If I add a db.open() the compiler says that it hasnt an open attribute.



I tried adding the same connect line on another def but I still cannot operate on a "closed" database when its obvious that I deleted it and then created a new database. I use pyqt5 too, thats why I wrote "QMainWindow"



import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5 import uic
import sqlite3
import os

db = sqlite3.connect("prueba.db")
puntero = db.cursor()

#ayuda a este pobre noob que no sabe sqlite3 ni como funciona los argumentos dentro de un def()de python
class Ventana(QMainWindow):

def __init__(self):
QMainWindow.__init__(self)
uic.loadUi("base.ui",self)

self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)

def createBase(self):
db = sqlite3.connect("prueba.db")
puntero = db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):

puntero.execute('''
CREATE TABLE Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
db.commit()
self.txt_Base.setText("tables inserted")

def deleteBase(self):
db.close()
os.remove("prueba.db")
self.txt_Base.setText("deleted database")



app = QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
app.exec_()









share|improve this question
























  • Are these methods inside of a class that you just didn't paste in the question?

    – Error - Syntactical Remorse
    Mar 25 at 20:52











  • The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

    – mypetlion
    Mar 25 at 20:52











  • Added full code where it happends

    – zemkohai
    Mar 25 at 21:04

















1















I create a database, then I closed and finally delete it with os.remove, but if I try to create the same database with the same line and then insert a new table the compiler says that I cannot operate in a closed database. If I add a db.open() the compiler says that it hasnt an open attribute.



I tried adding the same connect line on another def but I still cannot operate on a "closed" database when its obvious that I deleted it and then created a new database. I use pyqt5 too, thats why I wrote "QMainWindow"



import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5 import uic
import sqlite3
import os

db = sqlite3.connect("prueba.db")
puntero = db.cursor()

#ayuda a este pobre noob que no sabe sqlite3 ni como funciona los argumentos dentro de un def()de python
class Ventana(QMainWindow):

def __init__(self):
QMainWindow.__init__(self)
uic.loadUi("base.ui",self)

self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)

def createBase(self):
db = sqlite3.connect("prueba.db")
puntero = db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):

puntero.execute('''
CREATE TABLE Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
db.commit()
self.txt_Base.setText("tables inserted")

def deleteBase(self):
db.close()
os.remove("prueba.db")
self.txt_Base.setText("deleted database")



app = QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
app.exec_()









share|improve this question
























  • Are these methods inside of a class that you just didn't paste in the question?

    – Error - Syntactical Remorse
    Mar 25 at 20:52











  • The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

    – mypetlion
    Mar 25 at 20:52











  • Added full code where it happends

    – zemkohai
    Mar 25 at 21:04













1












1








1








I create a database, then I closed and finally delete it with os.remove, but if I try to create the same database with the same line and then insert a new table the compiler says that I cannot operate in a closed database. If I add a db.open() the compiler says that it hasnt an open attribute.



I tried adding the same connect line on another def but I still cannot operate on a "closed" database when its obvious that I deleted it and then created a new database. I use pyqt5 too, thats why I wrote "QMainWindow"



import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5 import uic
import sqlite3
import os

db = sqlite3.connect("prueba.db")
puntero = db.cursor()

#ayuda a este pobre noob que no sabe sqlite3 ni como funciona los argumentos dentro de un def()de python
class Ventana(QMainWindow):

def __init__(self):
QMainWindow.__init__(self)
uic.loadUi("base.ui",self)

self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)

def createBase(self):
db = sqlite3.connect("prueba.db")
puntero = db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):

puntero.execute('''
CREATE TABLE Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
db.commit()
self.txt_Base.setText("tables inserted")

def deleteBase(self):
db.close()
os.remove("prueba.db")
self.txt_Base.setText("deleted database")



app = QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
app.exec_()









share|improve this question
















I create a database, then I closed and finally delete it with os.remove, but if I try to create the same database with the same line and then insert a new table the compiler says that I cannot operate in a closed database. If I add a db.open() the compiler says that it hasnt an open attribute.



I tried adding the same connect line on another def but I still cannot operate on a "closed" database when its obvious that I deleted it and then created a new database. I use pyqt5 too, thats why I wrote "QMainWindow"



import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5 import uic
import sqlite3
import os

db = sqlite3.connect("prueba.db")
puntero = db.cursor()

#ayuda a este pobre noob que no sabe sqlite3 ni como funciona los argumentos dentro de un def()de python
class Ventana(QMainWindow):

def __init__(self):
QMainWindow.__init__(self)
uic.loadUi("base.ui",self)

self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)

def createBase(self):
db = sqlite3.connect("prueba.db")
puntero = db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):

puntero.execute('''
CREATE TABLE Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
db.commit()
self.txt_Base.setText("tables inserted")

def deleteBase(self):
db.close()
os.remove("prueba.db")
self.txt_Base.setText("deleted database")



app = QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
app.exec_()






python python-3.x sqlite pyqt pyqt5






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 3:24









eyllanesc

99.8k12 gold badges37 silver badges70 bronze badges




99.8k12 gold badges37 silver badges70 bronze badges










asked Mar 25 at 20:49









zemkohaizemkohai

134 bronze badges




134 bronze badges












  • Are these methods inside of a class that you just didn't paste in the question?

    – Error - Syntactical Remorse
    Mar 25 at 20:52











  • The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

    – mypetlion
    Mar 25 at 20:52











  • Added full code where it happends

    – zemkohai
    Mar 25 at 21:04

















  • Are these methods inside of a class that you just didn't paste in the question?

    – Error - Syntactical Remorse
    Mar 25 at 20:52











  • The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

    – mypetlion
    Mar 25 at 20:52











  • Added full code where it happends

    – zemkohai
    Mar 25 at 21:04
















Are these methods inside of a class that you just didn't paste in the question?

– Error - Syntactical Remorse
Mar 25 at 20:52





Are these methods inside of a class that you just didn't paste in the question?

– Error - Syntactical Remorse
Mar 25 at 20:52













The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

– mypetlion
Mar 25 at 20:52





The code you've provided does not produce the error you've described. Please provide the code that actually produces the error.

– mypetlion
Mar 25 at 20:52













Added full code where it happends

– zemkohai
Mar 25 at 21:04





Added full code where it happends

– zemkohai
Mar 25 at 21:04












1 Answer
1






active

oldest

votes


















0














A very common error is to create variables with the same name that have different scopes thinking that one will replace the other, in your case you have 2 variables db: one with global scope and another with scope within the function createBase. Instead, reuse the same variable, Also you should not assume that everything works, you must establish the rules in the case that could fail for example if you call more than 2 times to createTabla Do not you think that generates problems ?, Check if the .db exists before trying to delete it.



import sys
import os
import sqlite3
from PyQt5 import QtWidgets, uic

class Ventana(QtWidgets.QMainWindow):
def __init__(self):
super(Ventana, self).__init__()
uic.loadUi("base.ui",self)
self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)
self.createBase()

def createBase(self):
self.db = sqlite3.connect("prueba.db")
self.puntero = self.db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):
try:
self.puntero.execute('''
CREATE TABLE IF NOT EXISTS Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
self.db.commit()
self.txt_Base.setText("tables inserted")
except sqlite3.ProgrammingError as e:
print("Error: ", e)

def deleteBase(self):
self.db.close()
if os.path.exists("prueba.db"):
os.remove("prueba.db")
self.txt_Base.setText("deleted database")


if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
sys.exit(app.exec_())





share|improve this answer























  • It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

    – zemkohai
    Mar 26 at 3:22











  • @zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

    – eyllanesc
    Mar 26 at 3:23










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346197%2fhow-to-open-again-a-database-after-being-closed-and-deleted-on-sqlite3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














A very common error is to create variables with the same name that have different scopes thinking that one will replace the other, in your case you have 2 variables db: one with global scope and another with scope within the function createBase. Instead, reuse the same variable, Also you should not assume that everything works, you must establish the rules in the case that could fail for example if you call more than 2 times to createTabla Do not you think that generates problems ?, Check if the .db exists before trying to delete it.



import sys
import os
import sqlite3
from PyQt5 import QtWidgets, uic

class Ventana(QtWidgets.QMainWindow):
def __init__(self):
super(Ventana, self).__init__()
uic.loadUi("base.ui",self)
self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)
self.createBase()

def createBase(self):
self.db = sqlite3.connect("prueba.db")
self.puntero = self.db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):
try:
self.puntero.execute('''
CREATE TABLE IF NOT EXISTS Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
self.db.commit()
self.txt_Base.setText("tables inserted")
except sqlite3.ProgrammingError as e:
print("Error: ", e)

def deleteBase(self):
self.db.close()
if os.path.exists("prueba.db"):
os.remove("prueba.db")
self.txt_Base.setText("deleted database")


if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
sys.exit(app.exec_())





share|improve this answer























  • It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

    – zemkohai
    Mar 26 at 3:22











  • @zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

    – eyllanesc
    Mar 26 at 3:23















0














A very common error is to create variables with the same name that have different scopes thinking that one will replace the other, in your case you have 2 variables db: one with global scope and another with scope within the function createBase. Instead, reuse the same variable, Also you should not assume that everything works, you must establish the rules in the case that could fail for example if you call more than 2 times to createTabla Do not you think that generates problems ?, Check if the .db exists before trying to delete it.



import sys
import os
import sqlite3
from PyQt5 import QtWidgets, uic

class Ventana(QtWidgets.QMainWindow):
def __init__(self):
super(Ventana, self).__init__()
uic.loadUi("base.ui",self)
self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)
self.createBase()

def createBase(self):
self.db = sqlite3.connect("prueba.db")
self.puntero = self.db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):
try:
self.puntero.execute('''
CREATE TABLE IF NOT EXISTS Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
self.db.commit()
self.txt_Base.setText("tables inserted")
except sqlite3.ProgrammingError as e:
print("Error: ", e)

def deleteBase(self):
self.db.close()
if os.path.exists("prueba.db"):
os.remove("prueba.db")
self.txt_Base.setText("deleted database")


if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
sys.exit(app.exec_())





share|improve this answer























  • It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

    – zemkohai
    Mar 26 at 3:22











  • @zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

    – eyllanesc
    Mar 26 at 3:23













0












0








0







A very common error is to create variables with the same name that have different scopes thinking that one will replace the other, in your case you have 2 variables db: one with global scope and another with scope within the function createBase. Instead, reuse the same variable, Also you should not assume that everything works, you must establish the rules in the case that could fail for example if you call more than 2 times to createTabla Do not you think that generates problems ?, Check if the .db exists before trying to delete it.



import sys
import os
import sqlite3
from PyQt5 import QtWidgets, uic

class Ventana(QtWidgets.QMainWindow):
def __init__(self):
super(Ventana, self).__init__()
uic.loadUi("base.ui",self)
self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)
self.createBase()

def createBase(self):
self.db = sqlite3.connect("prueba.db")
self.puntero = self.db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):
try:
self.puntero.execute('''
CREATE TABLE IF NOT EXISTS Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
self.db.commit()
self.txt_Base.setText("tables inserted")
except sqlite3.ProgrammingError as e:
print("Error: ", e)

def deleteBase(self):
self.db.close()
if os.path.exists("prueba.db"):
os.remove("prueba.db")
self.txt_Base.setText("deleted database")


if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
sys.exit(app.exec_())





share|improve this answer













A very common error is to create variables with the same name that have different scopes thinking that one will replace the other, in your case you have 2 variables db: one with global scope and another with scope within the function createBase. Instead, reuse the same variable, Also you should not assume that everything works, you must establish the rules in the case that could fail for example if you call more than 2 times to createTabla Do not you think that generates problems ?, Check if the .db exists before trying to delete it.



import sys
import os
import sqlite3
from PyQt5 import QtWidgets, uic

class Ventana(QtWidgets.QMainWindow):
def __init__(self):
super(Ventana, self).__init__()
uic.loadUi("base.ui",self)
self.btn_Tabla.clicked.connect(self.createTabla)
self.btn_Insertar.clicked.connect(self.createDatos)
self.btn_Borrar.clicked.connect(self.deleteBase)
self.btn_Crear.clicked.connect(self.createBase)
self.createBase()

def createBase(self):
self.db = sqlite3.connect("prueba.db")
self.puntero = self.db.cursor()
self.txt_Base.setText("database created")

def createDatos(self):
x=1

def createTabla(self):
try:
self.puntero.execute('''
CREATE TABLE IF NOT EXISTS Usuarios(id INTEGER PRIMARY KEY, Nombre TEXT,
Telefono TEXT, Correo TEXT unique, Contraseña TEXT)
''')
self.db.commit()
self.txt_Base.setText("tables inserted")
except sqlite3.ProgrammingError as e:
print("Error: ", e)

def deleteBase(self):
self.db.close()
if os.path.exists("prueba.db"):
os.remove("prueba.db")
self.txt_Base.setText("deleted database")


if __name__ == '__main__':
app = QtWidgets.QApplication(sys.argv)
_ventana = Ventana()
_ventana.show()
sys.exit(app.exec_())






share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 at 21:39









eyllanesceyllanesc

99.8k12 gold badges37 silver badges70 bronze badges




99.8k12 gold badges37 silver badges70 bronze badges












  • It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

    – zemkohai
    Mar 26 at 3:22











  • @zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

    – eyllanesc
    Mar 26 at 3:23

















  • It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

    – zemkohai
    Mar 26 at 3:22











  • @zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

    – eyllanesc
    Mar 26 at 3:23
















It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

– zemkohai
Mar 26 at 3:22





It worked! But my question is why you added the super line?? Im curious, and about the createTable def it was just for testing.

– zemkohai
Mar 26 at 3:22













@zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

– eyllanesc
Mar 26 at 3:23





@zemkohai read stackoverflow.com/questions/222877/what-does-super-do-in-python

– eyllanesc
Mar 26 at 3:23








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55346197%2fhow-to-open-again-a-database-after-being-closed-and-deleted-on-sqlite3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현