OPEYEMIAD's Posts
Nairaland Forum › OPEYEMIAD's Profile › OPEYEMIAD's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 (of 39 pages)
OPEYEMIAD:i edit my php.ini inside my phpmyadmin theremy enable me to upload upto 900M file size but still showing error during importation then I open the sql file using notepad and delete all the converted binary file. then i copied only the sql command and run it inside phpmyadmin everything work fine forgive me for asking question and answering my self |
Hmm after several research i was able to solve the problem. for learning purposes i add mysql.data.dll and mysqlbackup. dll as reference then the code [b]If txtBackupFile.Text = " " Then MsgBox("No location selected", MsgBoxStyle.Critical, "Error Exporting Database" ![]() btnBrowse.Focus() Exit Sub Else connectme() Dim cmd As MySqlCommand = New MySqlCommand cmd.Connection = con Dim mb As MySqlBackup = New MySqlBackup(cmd) Try If txtrestore.Text = "0" Then mb.ExportToFile(txtBackupFile.Text) MsgBox("Database Exported", MsgBoxStyle.Information, "Export Success" ![]() ElseIf txtBackupFile.Text = "0" Then mb.ImportFromFile(txtrestore.Text) MsgBox("Database Imported", MsgBoxStyle.Information, "Import Success" ![]() End If con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error" ![]() Exit Sub End Try End If[/b] But i encounter another bigger problem i store images into my database size of all the record amounting to 4MB after exporting am unable to import it due to the size my questions: 1. what is the best way to store images into database ? 2. How do i import already exported database? i just upgrade my phpmyadmin so i cant continue without importing my database please help |
problem not yet solve
am still waiting |
proxy20:thanks Having checked the demo I have problem with mysqlbackup.dll refrence at run time so its practically impossible for me to use.. it will be nice if my above code can be corrected |
proxy20:i use 2013 |
Am trying to Back up and restore my database, so have tried all my possible best here is my code FOR THE BACK UP Imports MySql.Data.MySqlClient 'i import this statement before my public class formname connectme() ' Have established a working connection with this already dim strsql as string strsql = "BACKUP DATABASE dbname TO DISK = C:\Users\LAPTOP\Desktop\dbname.sql" Dim cmd As New MySqlCommand(strsql, con) cmd.ExecuteNonQuery() con.Close() ......................................Note: MySql.Data.dll is my reference This is the error i got An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll Additional information: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BACKUP DATABASE dbname TO DISK = C:\Users\LAPTOP\Desktop\dbname.sql' at line 1 FOR THE RESTORE dim strsql as string strsql = "RESTORE DATABASE dbname FROM DISK = C:\Users\LAPTOP\Desktop\dbname.sql" Dim cmd As New MySqlCommand(strsql, con) cmd.ExecuteNonQuery() con.Close() Your urgent intervention will be highly welcome and appreciated. |
rapcy:am in Abuja interested lets chart 07038162348 |
I need a clean fairly used samsung galaxy s4 with no major scratch and in perfect condition. I stay in Gwarinpa Abuja. Genuine sellers with fair price in Abuja and it environs may kindly text or call 07038162348. Thank you all. |
if i were you i for say Kunu |
please add me
08032950881 i called it ECMAScript to avoid confusion with Java |
Caption this
|
#FederalPolytechnicNasarawa #Schoolofinformationtechnology #ComputerScience #Nacoss #NacossFPN #GraduatingStudents #daysiwillneverforget
|
Owongtok:Do i need to declare that too? |
Thank Jaaa
Nairalander don dey follow suit
Declare your Assets now. Let PMB know who is Rulling |
enkay2go:its not funny am trying to be loyal |
Crocz:That one too na asset ? |
even me i will not re- register am waiting for their bared message so that i throw my SIM into Can |
bakila:To show that am Loyal to the current administration and as a Good citizen |
BeskyPowa:i dont know ooo. But i hear say PMB is looking saint. My assets shows am not corrupt. Declare your own know |
chidifyn:Are you serious? i need emperical evidence to beleive it |
bakila:No |
DECLARATION OF ASSETS. Since our President PMB and his Vice PYO has declared their assets, it is very important to declare mine also as a good citizen... and it goes thus: 1. 4 pencil trousers and 3 black Jeans 2. 8 T-shirts and 1 suit 3. No wife yet but 2 future partner 4.No Son, and no daughter. 5. One bathroom slippers. 6. Three cover shoes and 3 leather palm 7. Two ties. 8. A bag of pure water. 9. One drum of rain water. 10. One bottle of Oil as a cream (ororo eran dindin). 11. one GSM ( Samsung Galaxy S2) 12. Three kongo of Garri 13. Two ankara. 14. 3 pots and one prayer kettle 15. One set of spoons and a set of plates. 16. One lamp 17. One stove. 18. One gallon for purchasing of kerosine. 19. One carpet and one Yinka Oba foam. 20. 1 Reading Chair and 1 Reading Table 21. No share @ all 22. Four boxerṣ and Three undies. 23. N1,010 @ Skye bank , and N1,005 @Fidelity Bank. |
set up database connecction i guess you can do dat record here is your recordset name Private sub search() call connectionname set record = new adodb.recordset record.open "select * from databasetablename where customer_ID ='" text1.text"' and customer_name = '"text2.text"'", activeconectionname, 3, 3 if text1.text = "" & record.customer_id and text2.text = "" & record.customer_name then label1.caption = "" &record.customer_name else msgbox ("no record found", vbcritical") end if set record = nothing close activeconnection end sub if you dont get it add me on whatsapp to send the script to you 08032950881 |
Please i will want you to host it. may be we should contribute for the hosting, am mastering the code now. but please which one should i learn first Javascript or Php ? I know HTML already and very good in Vb6.0 |
You never finish o It work very well for me, i can convert it to mobile app but how do i go about the database i.e how do i link it to database when fully converted to .apk file? Do i need to host it Hope my database will not full consider the lenght of chart? |
Hmmmm Thanks for the good Job Please Jquery is confusing, is like a source code when i download it. Do i need jquery in any chart application? can i write jquery code on my own? thanks |
Broooooooooo i dey follow you bomber to vender no starve us oooo |
Yep we are here
Any pro ? |
